The type of
// Provided by VK_VERSION_1_0 typedef void (VKAPI_PTR *PFN_vkFreeFunction)( void* pUserData, void* pMemory);
pUserDatais the value specified for VkAllocationCallbacks::
pUserDatain the allocator specified by the application.
pMemoryis the allocation to be freed.
pMemory may be
NULL, which the callback must handle safely.
pMemory is non-
NULL, it must be a pointer previously allocated
The application should free this memory.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.