CD3D12_HEAP_DESC::CD3D12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO&, D3D12_CPU_PAGE_PROPERTY, D3D12_MEMORY_POOL, D3D12_HEAP_FLAGS) constructor
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Instantiates a new instance of a CD3D12_HEAP_DESC structure that is initialized with values to describe the heap.
Syntax
CD3D12_HEAP_DESC(
[ref] const D3D12_RESOURCE_ALLOCATION_INFO &resAllocInfo,
D3D12_CPU_PAGE_PROPERTY cpuPageProperties,
D3D12_MEMORY_POOL memoryPoolPreference,
D3D12_HEAP_FLAGS miscFlags = D3D12_HEAP_FLAG_NONE
);
Parameters
resAllocInfo [ref]
Type: const D3D12_RESOURCE_ALLOCATION_INFOAddress of the D3D12_RESOURCE_ALLOCATION_INFO structure that initializes the CD3D12_RESOURCE_DESC structure.
cpuPageProperties
Type: D3D12_CPU_PAGE_PROPERTYA D3D12_CPU_PAGE_PROPERTY-typed value that specifies the CPU-page properties for the heap.
memoryPoolPreference
Type: D3D12_MEMORY_POOLA D3D12_MEMORY_POOL-typed value that specifies the memory pool for the heap.
miscFlags
Type: D3D12_HEAP_FLAGSA combination of D3D12_HEAP_FLAGs-typed values that are combined by using a bitwise OR operation. The resulting value identifies heap options.
Requirements
Header |
D3D12.h |