Class FMOD_DSP_PARAMETER_DESC_INT

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

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

Layout


 struct FMOD_DSP_PARAMETER_DESC_INT {
     int min;
     int max;
     int defaultval;
     FMOD_BOOL goestoinf;
     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.
    • MIN

      public static final int MIN
      The struct member offsets.
    • MAX

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

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

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

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

    • FMOD_DSP_PARAMETER_DESC_INT

      public FMOD_DSP_PARAMETER_DESC_INT(ByteBuffer container)
      Creates a FMOD_DSP_PARAMETER_DESC_INT 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_INT>
    • min

      public int min()
      Returns:
      the value of the min field.
    • max

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

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

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

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

      public FMOD_DSP_PARAMETER_DESC_INT min(int value)
      Sets the specified value to the min field.
    • max

      public FMOD_DSP_PARAMETER_DESC_INT max(int value)
      Sets the specified value to the max field.
    • defaultval

      public FMOD_DSP_PARAMETER_DESC_INT defaultval(int value)
      Sets the specified value to the defaultval field.
    • goestoinf

      public FMOD_DSP_PARAMETER_DESC_INT goestoinf(int value)
      Sets the specified value to the goestoinf field.
    • valuenames

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

      public FMOD_DSP_PARAMETER_DESC_INT set(int min, int max, int defaultval, int goestoinf, @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_INT malloc()
      Returns a new FMOD_DSP_PARAMETER_DESC_INT instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

      public static FMOD_DSP_PARAMETER_DESC_INT calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_PARAMETER_DESC_INT 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_INT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_PARAMETER_DESC_INT.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_INT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new FMOD_DSP_PARAMETER_DESC_INT.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
    • nmin

      public static int nmin(long struct)
      Unsafe version of min().
    • nmax

      public static int nmax(long struct)
      Unsafe version of max().
    • ndefaultval

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

      public static int ngoestoinf(long struct)
      Unsafe version of goestoinf().
    • nvaluenames

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

      public static void nmin(long struct, int value)
      Unsafe version of min.
    • nmax

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

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

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

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