#[repr(C)]
pub struct VmaDefragmentationInfo { pub flags: VmaDefragmentationFlags, pub pool: VmaPool, pub maxBytesPerPass: DeviceSize, pub maxAllocationsPerPass: u32, }
Expand description

\brief Parameters for defragmentation.

To be used with function vmaBeginDefragmentation().

Fields

flags: VmaDefragmentationFlags

\brief Use combination of #VmaDefragmentationFlagBits.

pool: VmaPool

\brief Custom pool to be defragmented.

If null then default pools will undergo defragmentation process.

maxBytesPerPass: DeviceSize

\brief Maximum numbers of bytes that can be copied during single pass, while moving allocations to different places.

0 means no limit.

maxAllocationsPerPass: u32

\brief Maximum number of allocations that can be moved during single pass to a different place.

0 means no limit.

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.