#[repr(C)]pub struct DefragmentationStats {
pub bytesMoved: DeviceSize,
pub bytesFreed: DeviceSize,
pub allocationsMoved: u32,
pub deviceMemoryBlocksFreed: u32,
}Expand description
Statistics returned for defragmentation process in function vmaEndDefragmentation().
Fields§
§bytesMoved: DeviceSizeTotal number of bytes that have been copied while moving allocations to different places.
bytesFreed: DeviceSizeTotal number of bytes that have been released to the system by freeing empty VkDeviceMemory objects.
allocationsMoved: u32Number of allocations that have been moved to different places.
deviceMemoryBlocksFreed: u32Number of empty VkDeviceMemory objects that have been released to the system.
Trait Implementations§
Source§impl Clone for VmaDefragmentationStats
impl Clone for VmaDefragmentationStats
Source§fn clone(&self) -> VmaDefragmentationStats
fn clone(&self) -> VmaDefragmentationStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VmaDefragmentationStats
impl Debug for VmaDefragmentationStats
impl Copy for VmaDefragmentationStats
Auto Trait Implementations§
impl Freeze for VmaDefragmentationStats
impl RefUnwindSafe for VmaDefragmentationStats
impl Send for VmaDefragmentationStats
impl Sync for VmaDefragmentationStats
impl Unpin for VmaDefragmentationStats
impl UnwindSafe for VmaDefragmentationStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more