Class FMOD_DSP_PARAMETER_DESC_BOOL

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

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

Layout


 struct FMOD_DSP_PARAMETER_DESC_BOOL {
     FMOD_BOOL defaultval;
     char const * const * valuenames;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int DEFAULTVAL
      The struct member offsets.
    • VALUENAMES

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

    • FMOD_DSP_PARAMETER_DESC_BOOL

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

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<FMOD_DSP_PARAMETER_DESC_BOOL>
    • defaultval

      public int defaultval()
      Returns:
      the value of the defaultval field.
    • valuenames

      public @Nullable org.lwjgl.PointerBuffer valuenames()
      Returns:
      a PointerBuffer view of the data pointed to by the valuenames field.
    • defaultval

      public FMOD_DSP_PARAMETER_DESC_BOOL defaultval(int value)
      Sets the specified value to the defaultval field.
    • valuenames

      public FMOD_DSP_PARAMETER_DESC_BOOL valuenames(@Nullable org.lwjgl.PointerBuffer value)
      Sets the address of the specified PointerBuffer to the valuenames field.
    • set

      public FMOD_DSP_PARAMETER_DESC_BOOL set(int defaultval, @Nullable org.lwjgl.PointerBuffer valuenames)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static FMOD_DSP_PARAMETER_DESC_BOOL malloc()
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static FMOD_DSP_PARAMETER_DESC_BOOL calloc()
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static FMOD_DSP_PARAMETER_DESC_BOOL create()
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL instance allocated with BufferUtils.
    • create

      public static FMOD_DSP_PARAMETER_DESC_BOOL create(long address)
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL instance for the specified memory address.
    • createSafe

      public static @Nullable FMOD_DSP_PARAMETER_DESC_BOOL createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static FMOD_DSP_PARAMETER_DESC_BOOL.Buffer malloc(int capacity)
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static FMOD_DSP_PARAMETER_DESC_BOOL.Buffer calloc(int capacity)
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static FMOD_DSP_PARAMETER_DESC_BOOL.Buffer create(int capacity)
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static FMOD_DSP_PARAMETER_DESC_BOOL.Buffer create(long address, int capacity)
      Create a FMOD_DSP_PARAMETER_DESC_BOOL.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable FMOD_DSP_PARAMETER_DESC_BOOL.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static FMOD_DSP_PARAMETER_DESC_BOOL malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static FMOD_DSP_PARAMETER_DESC_BOOL calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static FMOD_DSP_PARAMETER_DESC_BOOL.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static FMOD_DSP_PARAMETER_DESC_BOOL.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_PARAMETER_DESC_BOOL.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • ndefaultval

      public static int ndefaultval(long struct)
      Unsafe version of defaultval().
    • nvaluenames

      public static @Nullable org.lwjgl.PointerBuffer nvaluenames(long struct)
      Unsafe version of valuenames.
    • ndefaultval

      public static void ndefaultval(long struct, int value)
      Unsafe version of defaultval.
    • nvaluenames

      public static void nvaluenames(long struct, @Nullable org.lwjgl.PointerBuffer value)
      Unsafe version of valuenames.