|
D3D12 Memory Allocator
|
Helper structure that helps with complete and conscise initialization of the D3D12MA::ALLOCATION_DESC structure. More...
#include <D3D12MemAlloc.h>
Public Member Functions | |
| CALLOCATION_DESC ()=default | |
| Default constructor. Leaves the structure uninitialized. | |
| CALLOCATION_DESC (const ALLOCATION_DESC &o) noexcept | |
| Constructor initializing from the base D3D12MA::ALLOCATION_DESC structure. | |
| CALLOCATION_DESC (Pool *customPool, ALLOCATION_FLAGS flags=ALLOCATION_FLAG_NONE, void *privateData=NULL) noexcept | |
| Constructor initializing description of an allocation to be created in a specific custom pool. | |
| CALLOCATION_DESC (D3D12_HEAP_TYPE heapType, ALLOCATION_FLAGS flags=ALLOCATION_FLAG_NONE, void *privateData=NULL, D3D12_HEAP_FLAGS extraHeapFlags=D3D12MA_RECOMMENDED_HEAP_FLAGS) noexcept | |
| Constructor initializing description of an allocation to be created in a default pool of a specific D3D12_HEAP_TYPE. | |
Additional Inherited Members | |
| Public Attributes inherited from D3D12MA::ALLOCATION_DESC | |
| ALLOCATION_FLAGS | Flags |
| Flags for the allocation. | |
| D3D12_HEAP_TYPE | HeapType |
| The type of memory heap where the new allocation should be placed. | |
| D3D12_HEAP_FLAGS | ExtraHeapFlags |
| Additional heap flags to be used when allocating memory. | |
| Pool * | CustomPool |
| Custom pool to place the new resource in. Optional. | |
| void * | pPrivateData |
| Custom general-purpose pointer that will be stored in D3D12MA::Allocation. | |
Helper structure that helps with complete and conscise initialization of the D3D12MA::ALLOCATION_DESC structure.
|
default |
Default constructor. Leaves the structure uninitialized.
|
inlineexplicitnoexcept |
Constructor initializing from the base D3D12MA::ALLOCATION_DESC structure.
|
inlineexplicitnoexcept |
Constructor initializing description of an allocation to be created in a specific custom pool.
|
inlineexplicitnoexcept |
Constructor initializing description of an allocation to be created in a default pool of a specific D3D12_HEAP_TYPE.