Direct3D 12 Memory Allocator
|
Parameters of created D3D12MA::VirtualBlock object to be passed to CreateVirtualBlock(). More...
#include <D3D12MemAlloc.h>
Public Attributes | |
VIRTUAL_BLOCK_FLAGS | Flags |
Flags. | |
UINT64 | Size |
Total size of the block. | |
const ALLOCATION_CALLBACKS * | pAllocationCallbacks |
Custom CPU memory allocation callbacks. Optional. | |
Parameters of created D3D12MA::VirtualBlock object to be passed to CreateVirtualBlock().
VIRTUAL_BLOCK_FLAGS D3D12MA::VIRTUAL_BLOCK_DESC::Flags |
Flags.
const ALLOCATION_CALLBACKS* D3D12MA::VIRTUAL_BLOCK_DESC::pAllocationCallbacks |
Custom CPU memory allocation callbacks. Optional.
Optional, can be null. When specified, will be used for all CPU-side memory allocations.
UINT64 D3D12MA::VIRTUAL_BLOCK_DESC::Size |
Total size of the block.
Sizes can be expressed in bytes or any units you want as long as you are consistent in using them. For example, if you allocate from some array of structures, 1 can mean single instance of entire structure.