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

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

#include <D3D12MemAlloc.h>

Inheritance diagram for D3D12MA::CVIRTUAL_BLOCK_DESC:
D3D12MA::VIRTUAL_BLOCK_DESC

Public Member Functions

 CVIRTUAL_BLOCK_DESC ()=default
 Default constructor. Leaves the structure uninitialized.
 CVIRTUAL_BLOCK_DESC (const VIRTUAL_BLOCK_DESC &o) noexcept
 Constructor initializing from the base D3D12MA::VIRTUAL_BLOCK_DESC structure.
 CVIRTUAL_BLOCK_DESC (UINT64 size, VIRTUAL_BLOCK_FLAGS flags=VIRTUAL_BLOCK_FLAG_NONE, const ALLOCATION_CALLBACKS *allocationCallbacks=NULL) noexcept
 Constructor initializing description of a virtual block with given parameters.

Additional Inherited Members

Public Attributes inherited from D3D12MA::VIRTUAL_BLOCK_DESC
VIRTUAL_BLOCK_FLAGS Flags
 Flags.
UINT64 Size
 Total size of the block.
const ALLOCATION_CALLBACKSpAllocationCallbacks
 Custom CPU memory allocation callbacks. Optional.

Detailed Description

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

Constructor & Destructor Documentation

◆ CVIRTUAL_BLOCK_DESC() [1/3]

D3D12MA::CVIRTUAL_BLOCK_DESC::CVIRTUAL_BLOCK_DESC ( )
default

Default constructor. Leaves the structure uninitialized.

◆ CVIRTUAL_BLOCK_DESC() [2/3]

D3D12MA::CVIRTUAL_BLOCK_DESC::CVIRTUAL_BLOCK_DESC ( const VIRTUAL_BLOCK_DESC & o)
inlineexplicitnoexcept

Constructor initializing from the base D3D12MA::VIRTUAL_BLOCK_DESC structure.

◆ CVIRTUAL_BLOCK_DESC() [3/3]

D3D12MA::CVIRTUAL_BLOCK_DESC::CVIRTUAL_BLOCK_DESC ( UINT64 size,
VIRTUAL_BLOCK_FLAGS flags = VIRTUAL_BLOCK_FLAG_NONE,
const ALLOCATION_CALLBACKS * allocationCallbacks = NULL )
inlineexplicitnoexcept

Constructor initializing description of a virtual block with given parameters.


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