Package org.lwjgl.stb

Class STBVorbisAlloc

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class STBVorbisAlloc extends Struct<STBVorbisAlloc> implements NativeResource

 struct stb_vorbis_alloc {
     char * alloc_buffer;
     int alloc_buffer_length_in_bytes;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int ALLOC_BUFFER
      The struct member offsets.
    • ALLOC_BUFFER_LENGTH_IN_BYTES

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

    • STBVorbisAlloc

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