Class VmaDefragmentationStats

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VmaDefragmentationStats
    extends Struct
    implements NativeResource
    Statistics returned by function Defragment.

    Member documentation

    • bytesMoved – total number of bytes that have been copied while moving allocations to different places
    • bytesFreed – total number of bytes that have been released to the system by freeing empty VkDeviceMemory objects
    • allocationsMoved – tumber of allocations that have been moved to different places
    • deviceMemoryBlocksFreed – number of empty VkDeviceMemory objects that have been released to the system

    Layout

    
     struct VmaDefragmentationStats {
         VkDeviceSize bytesMoved;
         VkDeviceSize bytesFreed;
         uint32_t allocationsMoved;
         uint32_t deviceMemoryBlocksFreed;
     }