XII Release 0.1.0
Loading...
Searching...
No Matches
xiiD3D12MemoryAllocationCreateInfo Struct Reference

Describes the parameters used to create a Direct3D 12 memory allocation. More...

#include <MemoryAllocatorD3D12.h>

Public Attributes

xiiBitflags< xiiD3D12AllocationFlags > m_Flags
 Flags that control allocation strategy and behavior.
xiiEnum< xiiD3D12MemoryHeapType > m_HeapType
 Preferred memory heap type for the allocation (e.g., Default, Upload, Readback).
xiiBitflags< xiiD3D12MemoryHeapFlags > m_HeapFlags
 Memory heap flags that must be present in the selected heap. Used to enforce strict compatibility (e.g., Shared, AllowDisplay).
void * m_pUserData = nullptr
 Optional user data pointer that can be associated with the allocation. This can be used to store custom metadata or context information relevant to the allocation, which may be useful for debugging, profiling, or custom allocation logic.

Detailed Description

Describes the parameters used to create a Direct3D 12 memory allocation.


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