Open 3D Engine Atom Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
VmaDeviceMemoryCallbacks Struct Reference

Set of callbacks that the library will call for vkAllocateMemory and vkFreeMemory. More...

#include <vk_mem_alloc.h>

Public Attributes

PFN_vmaAllocateDeviceMemoryFunction VMA_NULLABLE pfnAllocate
 Optional, can be null.
 
PFN_vmaFreeDeviceMemoryFunction VMA_NULLABLE pfnFree
 Optional, can be null.
 
void *VMA_NULLABLE pUserData
 Optional, can be null.
 

Detailed Description

Set of callbacks that the library will call for vkAllocateMemory and vkFreeMemory.

Provided for informative purpose, e.g. to gather statistics about number of allocations or total amount of memory allocated in Vulkan.

Used in VmaAllocatorCreateInfo::pDeviceMemoryCallbacks.


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