Struct vulkan_rs::VkAllocationCallbacks [] [src]

#[repr(C)]
pub struct VkAllocationCallbacks { pub pUserData: *mut c_void, pub pfnAllocation: PFN_vkAllocationFunction, pub pfnReallocation: PFN_vkReallocationFunction, pub pfnFree: PFN_vkFreeFunction, pub pfnInternalAllocation: PFN_vkInternalAllocationNotification, pub pfnInternalFree: PFN_vkInternalFreeNotification, }

Structure containing callback function pointers for memory allocation

Fields

a value to be interpreted by the implementation of the callbacks

a pointer to an application-defined memory allocation function of type PFN_vkAllocationFunction

a pointer to an application-defined memory reallocation function of type PFN_vkReallocationFunction

a pointer to an application-defined memory free function of type PFN_vkFreeFunction

a pointer to an application-defined function that is called by the implementation when the implementation makes internal allocations, and it is of type PFN_vkInternalAllocationNotification

a pointer to an application-defined function that is called by the implementation when the implementation frees internal allocations, and it is of type PFN_vkInternalFreeNotification

Trait Implementations

impl Default for VkAllocationCallbacks
[src]

Returns the "default value" for a type. Read more