#[repr(C)]
pub struct VmaVirtualBlockCreateInfo { pub size: DeviceSize, pub flags: VmaVirtualBlockCreateFlags, pub pAllocationCallbacks: *const AllocationCallbacks, }
Expand description

Parameters of created #VmaVirtualBlock object to be passed to vmaCreateVirtualBlock().

Fields

size: DeviceSize

\brief Total size of the virtual block.

Sizes can be expressed in bytes or any units you want as long as you are consistent in using them. For example, if you allocate from some array of structures, 1 can mean single instance of entire structure.

flags: VmaVirtualBlockCreateFlags

\brief Use combination of #VmaVirtualBlockCreateFlagBits.

pAllocationCallbacks: *const AllocationCallbacks

\brief Custom CPU memory allocation callbacks. Optional.

Optional, can be null. When specified, they will be used for all CPU-side memory allocations.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.