VV::V0::Memory::AllocationCallbacks struct

Vulkan provides applications the opportunity to perform host memory allocations on behalf of the Vulkan implementation. If this feature is not used, the implementation will perform its own memory allocations.

Contents

Since most memory allocations are off the critical path, this is not meant as a performance feature. Rather, this can be useful for certain embedded systems, for debugging purposes (e.g. putting a guard page after all host allocations), or for memory allocation logging.

Specification

Base classes

template<typename VulkanType, EStructureType TemplateSpecifiedStype = EStructureType::Max_Enum>
struct VV::V0::VKStruct_Base<VkAllocationCallbacks>
Base struct for wrapping Vulkan native C API Structs.

Public variables

void* UserData
FPtr_Allocation Allocation
FPtr_Reallocation Reallocation
FPtr_Free Free
FPtr_InternalAllocationNotification InternalAllocation
FPtr_InternalFreeNotification InternalFree