Class VmaDeviceMemoryCallbacks

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VmaDeviceMemoryCallbacks
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    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.

    Layout

    
     struct VmaDeviceMemoryCallbacks {
         PFN_vmaAllocateDeviceMemoryFunction pfnAllocate;
         PFN_vmaFreeDeviceMemoryFunction pfnFree;
     }