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

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

#include <D3D12MemAlloc.h>

Inheritance diagram for D3D12MA::CVIRTUAL_ALLOCATION_DESC:
D3D12MA::VIRTUAL_ALLOCATION_DESC

Public Member Functions

 CVIRTUAL_ALLOCATION_DESC ()=default
 Default constructor. Leaves the structure uninitialized.
 CVIRTUAL_ALLOCATION_DESC (const VIRTUAL_ALLOCATION_DESC &o) noexcept
 Constructor initializing from the base D3D12MA::VIRTUAL_ALLOCATION_DESC structure.
 CVIRTUAL_ALLOCATION_DESC (UINT64 size, UINT64 alignment, VIRTUAL_ALLOCATION_FLAGS flags=VIRTUAL_ALLOCATION_FLAG_NONE, void *privateData=NULL) noexcept
 Constructor initializing description of a virtual allocation with given parameters.

Additional Inherited Members

Public Attributes inherited from D3D12MA::VIRTUAL_ALLOCATION_DESC
VIRTUAL_ALLOCATION_FLAGS Flags
 Flags for the virtual allocation.
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

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

Constructor & Destructor Documentation

◆ CVIRTUAL_ALLOCATION_DESC() [1/3]

D3D12MA::CVIRTUAL_ALLOCATION_DESC::CVIRTUAL_ALLOCATION_DESC ( )
default

Default constructor. Leaves the structure uninitialized.

◆ CVIRTUAL_ALLOCATION_DESC() [2/3]

D3D12MA::CVIRTUAL_ALLOCATION_DESC::CVIRTUAL_ALLOCATION_DESC ( const VIRTUAL_ALLOCATION_DESC & o)
inlineexplicitnoexcept

Constructor initializing from the base D3D12MA::VIRTUAL_ALLOCATION_DESC structure.

◆ CVIRTUAL_ALLOCATION_DESC() [3/3]

D3D12MA::CVIRTUAL_ALLOCATION_DESC::CVIRTUAL_ALLOCATION_DESC ( UINT64 size,
UINT64 alignment,
VIRTUAL_ALLOCATION_FLAGS flags = VIRTUAL_ALLOCATION_FLAG_NONE,
void * privateData = NULL )
inlineexplicitnoexcept

Constructor initializing description of a virtual allocation with given parameters.


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