Class VmaDefragmentationStats

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VmaDefragmentationStats>
org.lwjgl.util.vma.VmaDefragmentationStats
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VmaDefragmentationStats extends org.lwjgl.system.Struct<VmaDefragmentationStats> implements org.lwjgl.system.NativeResource
Statistics returned for defragmentation process in function EndDefragmentation.

Layout


 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