struct VmaDeviceMemoryCallbacks

Defined at line 2207 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h

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.

Public Members

PFN_vmaAllocateDeviceMemoryFunction _Nullable pfnAllocate
PFN_vmaFreeDeviceMemoryFunction _Nullable pfnFree
void * _Nullable pUserData