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

Describes the parameters used to create a Vulkan memory allocation. More...

#include <MemoryAllocatorVulkan.h>

Public Attributes

xiiBitflags< xiiVulkanAllocationCreateFlagsm_Flags
 Flags that control allocation strategy and behavior.
 
xiiEnum< xiiVulkanMemoryUsagem_Usage
 Intended usage pattern for the allocation (e.g., GPU-only, CPU-to-GPU).
 
xiiBitflags< xiiVulkanMemoryPropertyFlagsm_RequiredFlags
 Memory property flags that must be present in the selected memory type. Used to enforce strict compatibility (e.g., HostVisible, DeviceLocal).
 
xiiBitflags< xiiVulkanMemoryPropertyFlagsm_PreferredFlags
 Memory property flags that are desirable but not mandatory. The allocator will prioritize memory types that include these flags when multiple options are available.
 
const char * m_pUserData = nullptr
 Optional pointer to user-defined data associated with the allocation.
 
bool m_bExportSharedAllocation = false
 If true, the allocation will be created with exportable handle capabilities for sharing between Vulkan devices or APIs.
 

Detailed Description

Describes the parameters used to create a Vulkan memory allocation.

This structure defines how memory should be allocated, including usage hints, allocation strategy flags, and optional user metadata.


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