Function Pointer
PFN_vkInternalFreeNotification
Application-defined memory free notification function
The type of pfnInternalFree is:
typedef void (VKAPI_PTR *PFN_vkInternalFreeNotification)(
void* pUserData,
size_t size,
VkInternalAllocationType allocationType,
VkSystemAllocationScope allocationScope);
pUserDatais the value specified for VkAllocationCallbacks::pUserDatain the allocator specified by the application.sizeis the requested size of an allocation.allocationTypeis a VkInternalAllocationType value specifying the requested type of an allocation.allocationScopeis a VkSystemAllocationScope value specifying the allocation scope of the lifetime of the allocation, as described here.