Class FMOD_CPU_USAGE.Buffer

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

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

    • Buffer

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

    • dsp

      public float dsp()
      Returns:
      the value of the dsp field.
    • stream$

      public float stream$()
      Returns:
      the value of the stream field.
    • geometry

      public float geometry()
      Returns:
      the value of the geometry field.
    • update

      public float update()
      Returns:
      the value of the update field.
    • convolution1

      public float convolution1()
      Returns:
      the value of the convolution1 field.
    • convolution2

      public float convolution2()
      Returns:
      the value of the convolution2 field.
    • dsp

      public FMOD_CPU_USAGE.Buffer dsp(float value)
      Sets the specified value to the dsp field.
    • stream$

      public FMOD_CPU_USAGE.Buffer stream$(float value)
      Sets the specified value to the stream field.
    • geometry

      public FMOD_CPU_USAGE.Buffer geometry(float value)
      Sets the specified value to the geometry field.
    • update

      public FMOD_CPU_USAGE.Buffer update(float value)
      Sets the specified value to the update field.
    • convolution1

      public FMOD_CPU_USAGE.Buffer convolution1(float value)
      Sets the specified value to the convolution1 field.
    • convolution2

      public FMOD_CPU_USAGE.Buffer convolution2(float value)
      Sets the specified value to the convolution2 field.