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

Describes a Vulkan memory allocation and its associated metadata. More...

#include <MemoryAllocatorVulkan.h>

Public Attributes

xiiUInt32 m_uiMemoryType
 Index of the Vulkan memory type used for this allocation.
 
vk::DeviceMemory m_vkDeviceMemory
 Vulkan device memory handle associated with the allocation.
 
vk::DeviceSize m_uiOffset
 Byte offset into the device memory where the allocation begins.
 
vk::DeviceSize m_uiSize
 Size of the allocation in bytes.
 
void * m_pMappedData
 Pointer to mapped memory, if the allocation is host-visible and mapped.
 
void * m_pUserData
 Optional user-defined data associated with the allocation.
 
const char * m_szName
 Optional debug name for the allocation, used for profiling or diagnostics.
 

Detailed Description

Describes a Vulkan memory allocation and its associated metadata.

This structure holds information about a Vulkan memory block, including the device memory handle, offset, size, memory type, mapped pointer, user data, and optional debug name.


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