Class MeshoptVertexCacheStatistics

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class MeshoptVertexCacheStatistics extends Struct<MeshoptVertexCacheStatistics> implements NativeResource

 struct meshopt_VertexCacheStatistics {
     unsigned int vertices_transformed;
     unsigned int warps_executed;
     float acmr;
     float atvr;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int VERTICES_TRANSFORMED
      The struct member offsets.
    • WARPS_EXECUTED

      public static final int WARPS_EXECUTED
      The struct member offsets.
    • ACMR

      public static final int ACMR
      The struct member offsets.
    • ATVR

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

    • MeshoptVertexCacheStatistics

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