Struct vma::DefragmentationStats
source · #[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: DeviceSize
Total number of bytes that have been copied while moving allocations to different places.
bytesFreed: DeviceSize
Total number of bytes that have been released to the system by freeing empty VkDeviceMemory
objects.
allocationsMoved: u32
Number of allocations that have been moved to different places.
deviceMemoryBlocksFreed: u32
Number 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 copy 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 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