Function Pointer
PFN_vkFreeFunction
Application-defined memory free function
The type of pfnFree is:
typedef void (VKAPI_PTR *PFN_vkFreeFunction)(void* pUserData, void* pMemory);
pub type PFN_vkFreeFunction = Option<
unsafe extern "system" fn(
) -> std::ffi::c_void
>;
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.
If pMemory is non-NULL, it must be a pointer previously allocated
by pfnAllocation or pfnReallocation.
The application should free this memory.
Parent
VK_VERSION_1_0Type
Function Pointer