Class VmaDefragmentationStats

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VmaDefragmentationStats extends Struct<VmaDefragmentationStats> implements NativeResource

 struct VmaDefragmentationStats {
     VkDeviceSize bytesMoved;
     VkDeviceSize bytesFreed;
     uint32_t allocationsMoved;
     uint32_t deviceMemoryBlocksFreed;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • BYTESMOVED

      public static final int BYTESMOVED
      The struct member offsets.
    • BYTESFREED

      public static final int BYTESFREED
      The struct member offsets.
    • ALLOCATIONSMOVED

      public static final int ALLOCATIONSMOVED
      The struct member offsets.
    • DEVICEMEMORYBLOCKSFREED

      public static final int DEVICEMEMORYBLOCKSFREED
      The struct member offsets.
  • Constructor Details

    • VmaDefragmentationStats

      public VmaDefragmentationStats(ByteBuffer container)
      Creates a VmaDefragmentationStats instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details