Direct3D 12 Memory Allocator
Loading...
Searching...
No Matches
Public Attributes | List of all members
D3D12MA::VIRTUAL_BLOCK_DESC Struct Reference

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_CALLBACKSpAllocationCallbacks
 Custom CPU memory allocation callbacks. Optional.
 

Detailed Description

Parameters of created D3D12MA::VirtualBlock object to be passed to CreateVirtualBlock().

Member Data Documentation

◆ Flags

VIRTUAL_BLOCK_FLAGS D3D12MA::VIRTUAL_BLOCK_DESC::Flags

Flags.

◆ pAllocationCallbacks

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.

◆ Size

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.


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