Class BGFXTransientIndexBuffer

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<BGFXTransientIndexBuffer>
org.lwjgl.bgfx.BGFXTransientIndexBuffer
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class BGFXTransientIndexBuffer extends org.lwjgl.system.Struct<BGFXTransientIndexBuffer> implements org.lwjgl.system.NativeResource
Transient index buffer.

Layout


 struct bgfx_transient_index_buffer_t {
     uint8_t * data();
     uint32_t size();
     uint32_t startIndex();
     bgfx_index_buffer_handle_t handle();
     bool isIndex16();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int DATA
      The struct member offsets.
    • SIZE

      public static final int SIZE
      The struct member offsets.
    • STARTINDEX

      public static final int STARTINDEX
      The struct member offsets.
    • HANDLE

      public static final int HANDLE
      The struct member offsets.
    • ISINDEX16

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

    • BGFXTransientIndexBuffer

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