CD3DX12_HEAP_DESC structure
A helper structure to enable easy initialization of a D3D12_HEAP_DESC structure.
Syntax
struct CD3DX12_HEAP_DESC : public D3D12_HEAP_DESC{
CD3DX12_HEAP_DESC();
explicit CD3DX12_HEAP_DESC(const D3D12_HEAP_DESC &o);
CD3DX12_HEAP_DESC(UINT64 size, D3D12_HEAP_PROPERTIES properties, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
CD3DX12_HEAP_DESC(UINT64 size, D3D12_HEAP_TYPE type, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
CD3DX12_HEAP_DESC(UINT64 size, D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_HEAP_PROPERTIES properties, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_HEAP_TYPE type, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE);
operator const D3D12_HEAP_DESC&() const;
};
Members
-
CD3DX12_HEAP_DESC()
-
Creates a new, uninitialized, instance of a CD3DX12_HEAP_DESC.
-
explicit CD3DX12_HEAP_DESC(const D3D12_HEAP_DESC &o)
-
Creates a new instance of a CD3DX12_HEAP_DESC, initialized with the contents of another D3D12_HEAP_DESC structure.
-
CD3DX12_HEAP_DESC(UINT64 size, D3D12_HEAP_PROPERTIES properties, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)
-
Creates a new instance of a CD3DX12_HEAP_DESC, initializing the following parameters:
UINT64 size
D3D12_HEAP_PROPERTIES properties
(opt) UINT64 alignment = 0
(opt) D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE
-
CD3DX12_HEAP_DESC(UINT64 size, D3D12_HEAP_TYPE type, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)
-
Creates a new instance of a CD3DX12_HEAP_DESC, initializing the following parameters:
UINT64 size
D3D12_HEAP_TYPE type
(opt) UINT64 alignment = 0
(opt) D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE
-
CD3DX12_HEAP_DESC(UINT64 size, D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, UINT64 alignment = 0, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)
-
Creates a new instance of a CD3DX12_HEAP_DESC, initializing the following parameters:
UINT64 size
D3D12_CPU_PAGE_PROPERTY cpuPageProperty
D3D12_MEMORY_POOL memoryPoolPreference
(opt) UINT64 alignment = 0
(opt) D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE
-
CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_HEAP_PROPERTIES properties, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)
-
Creates a new instance of a CD3DX12_HEAP_DESC, initializing the following parameters:
D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo
D3D12_HEAP_PROPERTIES properties
(opt) D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE
-
CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_HEAP_TYPE type, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)
-
Creates a new instance of a CD3DX12_HEAP_DESC, initializing the following parameters:
D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo
D3D12_HEAP_TYPE type
(opt) D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE
-
CD3DX12_HEAP_DESC(const D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo, D3D12_CPU_PAGE_PROPERTY cpuPageProperty, D3D12_MEMORY_POOL memoryPoolPreference, D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE)
-
Creates a new instance of a CD3DX12_HEAP_DESC, initializing the following parameters:
D3D12_RESOURCE_ALLOCATION_INFO& resAllocInfo
D3D12_CPU_PAGE_PROPERTY cpuPageProperty
D3D12_MEMORY_POOL memoryPoolPreference
(opt) D3D12_HEAP_FLAGS flags = D3D12_HEAP_FLAG_NONE
-
operator const D3D12_HEAP_DESC&() const
-
Defines the & pass-by-reference operator for the CD3DX12_HEAP_DESC structure type.
Requirements
Requirement | Value |
---|---|
Header |
|