Function Pointer
PFN_vkInternalAllocationNotification
Application-defined memory allocation notification function
The type of pfnInternalAllocation is:
typedef void (VKAPI_PTR *PFN_vkInternalAllocationNotification)(void* pUserData, size_t size, VkInternalAllocationType allocationType, VkSystemAllocationScope allocationScope);
pub type PFN_vkInternalAllocationNotification = Option<
unsafe extern "system" fn(
) -> std::ffi::c_void
>;
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.
This is a purely informational callback.
Parent
VK_VERSION_1_0Type
Function Pointer