Class FMOD_DSP_PARAMETER_DESC_DATA.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<FMOD_DSP_PARAMETER_DESC_DATA>, NativeResource, Pointer
Enclosing class:
FMOD_DSP_PARAMETER_DESC_DATA

public static class FMOD_DSP_PARAMETER_DESC_DATA.Buffer extends StructBuffer<FMOD_DSP_PARAMETER_DESC_DATA,FMOD_DSP_PARAMETER_DESC_DATA.Buffer> implements NativeResource
An array of FMOD_DSP_PARAMETER_DESC_DATA structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new FMOD_DSP_PARAMETER_DESC_DATA.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by FMOD_DSP_PARAMETER_DESC_DATA.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • datatype

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

      public FMOD_DSP_PARAMETER_DESC_DATA.Buffer datatype(int value)
      Sets the specified value to the datatype field.