D3D12 Memory Allocator
Loading...
Searching...
No Matches
D3D12MA::CALLOCATION_DESC Struct Reference

Helper structure that helps with complete and conscise initialization of the D3D12MA::ALLOCATION_DESC structure. More...

#include <D3D12MemAlloc.h>

Inheritance diagram for D3D12MA::CALLOCATION_DESC:
D3D12MA::ALLOCATION_DESC

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.
PoolCustomPool
 Custom pool to place the new resource in. Optional.
void * pPrivateData
 Custom general-purpose pointer that will be stored in D3D12MA::Allocation.

Detailed Description

Helper structure that helps with complete and conscise initialization of the D3D12MA::ALLOCATION_DESC structure.

Constructor & Destructor Documentation

◆ CALLOCATION_DESC() [1/4]

D3D12MA::CALLOCATION_DESC::CALLOCATION_DESC ( )
default

Default constructor. Leaves the structure uninitialized.

◆ CALLOCATION_DESC() [2/4]

D3D12MA::CALLOCATION_DESC::CALLOCATION_DESC ( const ALLOCATION_DESC & o)
inlineexplicitnoexcept

Constructor initializing from the base D3D12MA::ALLOCATION_DESC structure.

◆ CALLOCATION_DESC() [3/4]

D3D12MA::CALLOCATION_DESC::CALLOCATION_DESC ( Pool * customPool,
ALLOCATION_FLAGS flags = ALLOCATION_FLAG_NONE,
void * privateData = NULL )
inlineexplicitnoexcept

Constructor initializing description of an allocation to be created in a specific custom pool.

◆ CALLOCATION_DESC() [4/4]

D3D12MA::CALLOCATION_DESC::CALLOCATION_DESC ( D3D12_HEAP_TYPE heapType,
ALLOCATION_FLAGS flags = ALLOCATION_FLAG_NONE,
void * privateData = NULL,
D3D12_HEAP_FLAGS extraHeapFlags = D3D12MA_RECOMMENDED_HEAP_FLAGS )
inlineexplicitnoexcept

Constructor initializing description of an allocation to be created in a default pool of a specific D3D12_HEAP_TYPE.


The documentation for this struct was generated from the following file: