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

Parameters of created virtual allocation to be passed to VirtualBlock::Allocate(). More...

#include <D3D12MemAlloc.h>

Public Attributes

VIRTUAL_ALLOCATION_FLAGS Flags
 Flags.
 
UINT64 Size
 Size of the allocation.
 
UINT64 Alignment
 Required alignment of the allocation.
 
void * pPrivateData
 Custom pointer to be associated with the allocation.
 

Detailed Description

Parameters of created virtual allocation to be passed to VirtualBlock::Allocate().

Member Data Documentation

◆ Alignment

UINT64 D3D12MA::VIRTUAL_ALLOCATION_DESC::Alignment

Required alignment of the allocation.

Must be power of two. Special value 0 has the same meaning as 1 - means no special alignment is required, so allocation can start at any offset.

◆ Flags

VIRTUAL_ALLOCATION_FLAGS D3D12MA::VIRTUAL_ALLOCATION_DESC::Flags

Flags.

◆ pPrivateData

void* D3D12MA::VIRTUAL_ALLOCATION_DESC::pPrivateData

Custom pointer to be associated with the allocation.

It can be fetched or changed later.

◆ Size

UINT64 D3D12MA::VIRTUAL_ALLOCATION_DESC::Size

Size of the allocation.

Cannot be zero.


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