The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Vulkan Memory Allocator
Loading...
Searching...
No Matches
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 pfnAllocate
 Optional, can be null.
 
PFN_vmaFreeDeviceMemoryFunction pfnFree
 Optional, can be null.
 
void * 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.

Member Data Documentation

◆ pfnAllocate

PFN_vmaAllocateDeviceMemoryFunction VmaDeviceMemoryCallbacks::pfnAllocate

Optional, can be null.

◆ pfnFree

PFN_vmaFreeDeviceMemoryFunction VmaDeviceMemoryCallbacks::pfnFree

Optional, can be null.

◆ pUserData

void* VmaDeviceMemoryCallbacks::pUserData

Optional, can be null.


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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.