Vulkan Memory Allocator
|
Set of callbacks that the library will call for vkAllocateMemory and vkFreeMemory. More...
Public Attributes | |
PFN_vmaAllocateDeviceMemoryFunction | pfnAllocate |
Optional, can be null. | |
PFN_vmaFreeDeviceMemoryFunction | pfnFree |
Optional, can be null. | |
void * | pUserData |
Optional, can be null. |
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.
PFN_vmaAllocateDeviceMemoryFunction VmaDeviceMemoryCallbacks::pfnAllocate |
Optional, can be null.
PFN_vmaFreeDeviceMemoryFunction VmaDeviceMemoryCallbacks::pfnFree |
Optional, can be null.
void* VmaDeviceMemoryCallbacks::pUserData |
Optional, can be null.