Class VmaTotalStatistics

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

public class VmaTotalStatistics extends org.lwjgl.system.Struct<VmaTotalStatistics> implements org.lwjgl.system.NativeResource
General statistics from current state of the Allocator - total memory usage across all memory heaps and types.

These are slower to calculate. Use for debugging purposes.

Layout


 struct VmaTotalStatistics {
     VmaDetailedStatistics memoryType[32];
     VmaDetailedStatistics memoryHeap[16];
     VmaDetailedStatistics total;
 }
See Also:
  • Field Details

    • SIZEOF

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

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

      public static final int MEMORYTYPE
      The struct member offsets.
    • MEMORYHEAP

      public static final int MEMORYHEAP
      The struct member offsets.
    • TOTAL

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

    • VmaTotalStatistics

      public VmaTotalStatistics(ByteBuffer container)
      Creates a VmaTotalStatistics 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