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
pUserData: *mut c_void
a value to be interpreted by the implementation of the callbacks
pfnAllocation: PFN_vkAllocationFunction
a pointer to an application-defined memory allocation function of type PFN_vkAllocationFunction
pfnReallocation: PFN_vkReallocationFunction
a pointer to an application-defined memory reallocation function of type PFN_vkReallocationFunction
pfnFree: PFN_vkFreeFunction
a pointer to an application-defined memory free function of type PFN_vkFreeFunction
pfnInternalAllocation: PFN_vkInternalAllocationNotification
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
pfnInternalFree: PFN_vkInternalFreeNotification
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]
fn default() -> VkAllocationCallbacks
Returns the "default value" for a type. Read more