Set of callbacks that the library will call for vkAllocateMemory and vkFreeMemory.
More...
#include <vk_mem_alloc.h>
Public Attributes | |
| PFN_vmaAllocateDeviceMemoryFunction | pfnAllocate |
| Optional, can be null. More... | |
| PFN_vmaFreeDeviceMemoryFunction | pfnFree |
| Optional, can be null. More... | |
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.
Definition at line 1752 of file vk_mem_alloc.h.
| PFN_vmaAllocateDeviceMemoryFunction VmaDeviceMemoryCallbacks::pfnAllocate |
Optional, can be null.
Definition at line 1754 of file vk_mem_alloc.h.
| PFN_vmaFreeDeviceMemoryFunction VmaDeviceMemoryCallbacks::pfnFree |
Optional, can be null.
Definition at line 1756 of file vk_mem_alloc.h.