Package org.lwjgl.fmod
Class FMOD_DSP_STATE.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<FMOD_DSP_STATE.Buffer>
org.lwjgl.system.StructBuffer<FMOD_DSP_STATE,FMOD_DSP_STATE.Buffer>
org.lwjgl.fmod.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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newFMOD_DSP_STATE.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
channelmask
(int value) Sets the specified value to thechannelmask
field.Sets the address of the specifiedFMOD_DSP_STATE_FUNCTIONS
to thefunctions
field.long
instance()
instance
(long value) Sets the specified value to theinstance
field.long
plugindata
(long value) Sets the specified value to theplugindata
field.int
sidechaindata
(FloatBuffer value) Sets the address of the specifiedFloatBuffer
to thesidechaindata
field.int
source_speakermode
(int value) Sets the specified value to thesource_speakermode
field.int
systemobject
(int value) Sets the specified value to thesystemobject
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newFMOD_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
- Returns:
- a
FloatBuffer
view of the data pointed to by thesidechaindata
field.
-
sidechainchannels
public int sidechainchannels()- Returns:
- the value of the
sidechainchannels
field.
-
functions
- Returns:
- a
FMOD_DSP_STATE_FUNCTIONS
view of the struct pointed to by thefunctions
field.
-
systemobject
public int systemobject()- Returns:
- the value of the
systemobject
field.
-
instance
Sets the specified value to theinstance
field. -
plugindata
Sets the specified value to theplugindata
field. -
channelmask
Sets the specified value to thechannelmask
field. -
source_speakermode
Sets the specified value to thesource_speakermode
field. -
sidechaindata
Sets the address of the specifiedFloatBuffer
to thesidechaindata
field. -
functions
Sets the address of the specifiedFMOD_DSP_STATE_FUNCTIONS
to thefunctions
field. -
systemobject
Sets the specified value to thesystemobject
field.
-