Class MeshoptVertexFetchStatistics

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

public class MeshoptVertexFetchStatistics extends org.lwjgl.system.Struct<MeshoptVertexFetchStatistics> implements org.lwjgl.system.NativeResource

Layout


 struct meshopt_VertexFetchStatistics {
     unsigned int bytes_fetched;
     float overfetch();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int BYTES_FETCHED
      The struct member offsets.
    • OVERFETCH

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

    • MeshoptVertexFetchStatistics

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