Class FMOD_DSP_STATE.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new FMOD_DSP_STATE.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_STATE.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

    • instance

      public long instance()
      Returns:
      the value of the instance field.
    • plugindata

      public long plugindata()
      Returns:
      the value of the plugindata field.
    • channelmask

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

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

      public FloatBuffer sidechaindata()
      Returns:
      a FloatBuffer view of the data pointed to by the sidechaindata field.
    • sidechainchannels

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

      public FMOD_DSP_STATE_FUNCTIONS functions()
      Returns:
      a FMOD_DSP_STATE_FUNCTIONS view of the struct pointed to by the functions field.
    • systemobject

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

      public FMOD_DSP_STATE.Buffer instance(long value)
      Sets the specified value to the instance field.
    • plugindata

      public FMOD_DSP_STATE.Buffer plugindata(long value)
      Sets the specified value to the plugindata field.
    • channelmask

      public FMOD_DSP_STATE.Buffer channelmask(int value)
      Sets the specified value to the channelmask field.
    • source_speakermode

      public FMOD_DSP_STATE.Buffer source_speakermode(int value)
      Sets the specified value to the source_speakermode field.
    • sidechaindata

      public FMOD_DSP_STATE.Buffer sidechaindata(FloatBuffer value)
      Sets the address of the specified FloatBuffer to the sidechaindata field.
    • functions

      Sets the address of the specified FMOD_DSP_STATE_FUNCTIONS to the functions field.
    • systemobject

      public FMOD_DSP_STATE.Buffer systemobject(int value)
      Sets the specified value to the systemobject field.