Class FMOD_DSP_DESCRIPTION.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<FMOD_DSP_DESCRIPTION.Buffer>
org.lwjgl.system.StructBuffer<FMOD_DSP_DESCRIPTION, FMOD_DSP_DESCRIPTION.Buffer>
org.lwjgl.fmod.FMOD_DSP_DESCRIPTION.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<FMOD_DSP_DESCRIPTION>, NativeResource, Pointer
- Enclosing class:
FMOD_DSP_DESCRIPTION
public static class FMOD_DSP_DESCRIPTION.Buffer
extends StructBuffer<FMOD_DSP_DESCRIPTION, FMOD_DSP_DESCRIPTION.Buffer>
implements NativeResource
An array of
FMOD_DSP_DESCRIPTION structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface 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_DESCRIPTION.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescription@Nullable FMOD_DSP_CREATE_CALLBACKcreate$()create$(@Nullable FMOD_DSP_CREATE_CALLBACKI value) Sets the specified value to thecreatefield.@Nullable FMOD_DSP_GETPARAM_BOOL_CALLBACKgetparameterbool(@Nullable FMOD_DSP_GETPARAM_BOOL_CALLBACKI value) Sets the specified value to thegetparameterboolfield.@Nullable FMOD_DSP_GETPARAM_DATA_CALLBACKgetparameterdata(@Nullable FMOD_DSP_GETPARAM_DATA_CALLBACKI value) Sets the specified value to thegetparameterdatafield.@Nullable FMOD_DSP_GETPARAM_FLOAT_CALLBACKgetparameterfloat(@Nullable FMOD_DSP_GETPARAM_FLOAT_CALLBACKI value) Sets the specified value to thegetparameterfloatfield.@Nullable FMOD_DSP_GETPARAM_INT_CALLBACKgetparameterint(@Nullable FMOD_DSP_GETPARAM_INT_CALLBACKI value) Sets the specified value to thegetparameterintfield.name()bytename(int index) name(int index, byte value) Sets the specified value at the specified index of thenamefield.name(ByteBuffer value) Copies the specifiedByteBufferto thenamefield.intnuminputbuffers(int value) Sets the specified value to thenuminputbuffersfield.intnumoutputbuffers(int value) Sets the specified value to thenumoutputbuffersfield.intparamdesc(PointerBuffer value) Sets the address of the specifiedPointerBufferto theparamdescfield.intpluginsdkversion(int value) Sets the specified value to thepluginsdkversionfield.@Nullable FMOD_DSP_PROCESS_CALLBACKprocess()process(@Nullable FMOD_DSP_PROCESS_CALLBACKI value) Sets the specified value to theprocessfield.@Nullable FMOD_DSP_READ_CALLBACKread()read(@Nullable FMOD_DSP_READ_CALLBACKI value) Sets the specified value to thereadfield.@Nullable FMOD_DSP_RELEASE_CALLBACKrelease()release(@Nullable FMOD_DSP_RELEASE_CALLBACKI value) Sets the specified value to thereleasefield.reset$()reset$(FMOD_DSP_RESET_CALLBACKI value) Sets the specified value to theresetfield.@Nullable FMOD_DSP_SETPARAM_BOOL_CALLBACKsetparameterbool(@Nullable FMOD_DSP_SETPARAM_BOOL_CALLBACKI value) Sets the specified value to thesetparameterboolfield.@Nullable FMOD_DSP_SETPARAM_DATA_CALLBACKsetparameterdata(@Nullable FMOD_DSP_SETPARAM_DATA_CALLBACKI value) Sets the specified value to thesetparameterdatafield.@Nullable FMOD_DSP_SETPARAM_FLOAT_CALLBACKsetparameterfloat(@Nullable FMOD_DSP_SETPARAM_FLOAT_CALLBACKI value) Sets the specified value to thesetparameterfloatfield.@Nullable FMOD_DSP_SETPARAM_INT_CALLBACKsetparameterint(@Nullable FMOD_DSP_SETPARAM_INT_CALLBACKI value) Sets the specified value to thesetparameterintfield.@Nullable FMOD_DSP_SETPOSITION_CALLBACKsetposition(@Nullable FMOD_DSP_SETPOSITION_CALLBACKI value) Sets the specified value to thesetpositionfield.Sets the specified value to theshouldiprocessfield.@Nullable FMOD_DSP_SYSTEM_DEREGISTER_CALLBACKsys_deregister(@Nullable FMOD_DSP_SYSTEM_DEREGISTER_CALLBACKI value) Sets the specified value to thesys_deregisterfield.@Nullable FMOD_DSP_SYSTEM_MIX_CALLBACKsys_mix()sys_mix(@Nullable FMOD_DSP_SYSTEM_MIX_CALLBACKI value) Sets the specified value to thesys_mixfield.@Nullable FMOD_DSP_SYSTEM_REGISTER_CALLBACKsys_register(@Nullable FMOD_DSP_SYSTEM_REGISTER_CALLBACKI value) Sets the specified value to thesys_registerfield.longuserdata()userdata(long value) Sets the specified value to theuserdatafield.intversion()version(int value) Sets the specified value to theversionfield.Methods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class Pointer.Default
equals, hashCodeMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newFMOD_DSP_DESCRIPTION.Bufferinstance 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_DESCRIPTION.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
-
pluginsdkversion
- Returns:
- the value of the
pluginsdkversionfield.
-
name
- Returns:
- a
ByteBufferview of thenamefield.
-
name
- Returns:
- the value at the specified index of the
namefield.
-
version
- Returns:
- the value of the
versionfield.
-
numinputbuffers
public int numinputbuffers()- Returns:
- the value of the
numinputbuffersfield.
-
numoutputbuffers
public int numoutputbuffers()- Returns:
- the value of the
numoutputbuffersfield.
-
create$
- Returns:
- the value of the
createfield.
-
release
- Returns:
- the value of the
releasefield.
-
reset$
- Returns:
- the value of the
resetfield.
-
read
- Returns:
- the value of the
readfield.
-
process
- Returns:
- the value of the
processfield.
-
setposition
- Returns:
- the value of the
setpositionfield.
-
numparameters
public int numparameters()- Returns:
- the value of the
numparametersfield.
-
paramdesc
- Returns:
- a
PointerBufferview of the data pointed to by theparamdescfield.
-
setparameterfloat
- Returns:
- the value of the
setparameterfloatfield.
-
setparameterint
- Returns:
- the value of the
setparameterintfield.
-
setparameterbool
- Returns:
- the value of the
setparameterboolfield.
-
setparameterdata
- Returns:
- the value of the
setparameterdatafield.
-
getparameterfloat
- Returns:
- the value of the
getparameterfloatfield.
-
getparameterint
- Returns:
- the value of the
getparameterintfield.
-
getparameterbool
- Returns:
- the value of the
getparameterboolfield.
-
getparameterdata
- Returns:
- the value of the
getparameterdatafield.
-
shouldiprocess
- Returns:
- the value of the
shouldiprocessfield.
-
userdata
- Returns:
- the value of the
userdatafield.
-
sys_register
- Returns:
- the value of the
sys_registerfield.
-
sys_deregister
- Returns:
- the value of the
sys_deregisterfield.
-
sys_mix
- Returns:
- the value of the
sys_mixfield.
-
pluginsdkversion
Sets the specified value to thepluginsdkversionfield. -
name
Copies the specifiedByteBufferto thenamefield. -
name
Sets the specified value at the specified index of thenamefield. -
version
Sets the specified value to theversionfield. -
numinputbuffers
Sets the specified value to thenuminputbuffersfield. -
numoutputbuffers
Sets the specified value to thenumoutputbuffersfield. -
create$
public FMOD_DSP_DESCRIPTION.Buffer create$(@NativeType("FMOD_DSP_CREATE_CALLBACK") @Nullable FMOD_DSP_CREATE_CALLBACKI value) Sets the specified value to thecreatefield. -
release
public FMOD_DSP_DESCRIPTION.Buffer release(@NativeType("FMOD_DSP_RELEASE_CALLBACK") @Nullable FMOD_DSP_RELEASE_CALLBACKI value) Sets the specified value to thereleasefield. -
reset$
public FMOD_DSP_DESCRIPTION.Buffer reset$(@NativeType("FMOD_DSP_RESET_CALLBACK") FMOD_DSP_RESET_CALLBACKI value) Sets the specified value to theresetfield. -
read
public FMOD_DSP_DESCRIPTION.Buffer read(@NativeType("FMOD_DSP_READ_CALLBACK") @Nullable FMOD_DSP_READ_CALLBACKI value) Sets the specified value to thereadfield. -
process
public FMOD_DSP_DESCRIPTION.Buffer process(@NativeType("FMOD_DSP_PROCESS_CALLBACK") @Nullable FMOD_DSP_PROCESS_CALLBACKI value) Sets the specified value to theprocessfield. -
setposition
public FMOD_DSP_DESCRIPTION.Buffer setposition(@NativeType("FMOD_DSP_SETPOSITION_CALLBACK") @Nullable FMOD_DSP_SETPOSITION_CALLBACKI value) Sets the specified value to thesetpositionfield. -
paramdesc
public FMOD_DSP_DESCRIPTION.Buffer paramdesc(@NativeType("FMOD_DSP_PARAMETER_DESC **") PointerBuffer value) Sets the address of the specifiedPointerBufferto theparamdescfield. -
setparameterfloat
public FMOD_DSP_DESCRIPTION.Buffer setparameterfloat(@NativeType("FMOD_DSP_SETPARAM_FLOAT_CALLBACK") @Nullable FMOD_DSP_SETPARAM_FLOAT_CALLBACKI value) Sets the specified value to thesetparameterfloatfield. -
setparameterint
public FMOD_DSP_DESCRIPTION.Buffer setparameterint(@NativeType("FMOD_DSP_SETPARAM_INT_CALLBACK") @Nullable FMOD_DSP_SETPARAM_INT_CALLBACKI value) Sets the specified value to thesetparameterintfield. -
setparameterbool
public FMOD_DSP_DESCRIPTION.Buffer setparameterbool(@NativeType("FMOD_DSP_SETPARAM_BOOL_CALLBACK") @Nullable FMOD_DSP_SETPARAM_BOOL_CALLBACKI value) Sets the specified value to thesetparameterboolfield. -
setparameterdata
public FMOD_DSP_DESCRIPTION.Buffer setparameterdata(@NativeType("FMOD_DSP_SETPARAM_DATA_CALLBACK") @Nullable FMOD_DSP_SETPARAM_DATA_CALLBACKI value) Sets the specified value to thesetparameterdatafield. -
getparameterfloat
public FMOD_DSP_DESCRIPTION.Buffer getparameterfloat(@NativeType("FMOD_DSP_GETPARAM_FLOAT_CALLBACK") @Nullable FMOD_DSP_GETPARAM_FLOAT_CALLBACKI value) Sets the specified value to thegetparameterfloatfield. -
getparameterint
public FMOD_DSP_DESCRIPTION.Buffer getparameterint(@NativeType("FMOD_DSP_GETPARAM_INT_CALLBACK") @Nullable FMOD_DSP_GETPARAM_INT_CALLBACKI value) Sets the specified value to thegetparameterintfield. -
getparameterbool
public FMOD_DSP_DESCRIPTION.Buffer getparameterbool(@NativeType("FMOD_DSP_GETPARAM_BOOL_CALLBACK") @Nullable FMOD_DSP_GETPARAM_BOOL_CALLBACKI value) Sets the specified value to thegetparameterboolfield. -
getparameterdata
public FMOD_DSP_DESCRIPTION.Buffer getparameterdata(@NativeType("FMOD_DSP_GETPARAM_DATA_CALLBACK") @Nullable FMOD_DSP_GETPARAM_DATA_CALLBACKI value) Sets the specified value to thegetparameterdatafield. -
shouldiprocess
public FMOD_DSP_DESCRIPTION.Buffer shouldiprocess(@NativeType("FMOD_DSP_SHOULDIPROCESS_CALLBACK") FMOD_DSP_SHOULDIPROCESS_CALLBACKI value) Sets the specified value to theshouldiprocessfield. -
userdata
Sets the specified value to theuserdatafield. -
sys_register
public FMOD_DSP_DESCRIPTION.Buffer sys_register(@NativeType("FMOD_DSP_SYSTEM_REGISTER_CALLBACK") @Nullable FMOD_DSP_SYSTEM_REGISTER_CALLBACKI value) Sets the specified value to thesys_registerfield. -
sys_deregister
public FMOD_DSP_DESCRIPTION.Buffer sys_deregister(@NativeType("FMOD_DSP_SYSTEM_DEREGISTER_CALLBACK") @Nullable FMOD_DSP_SYSTEM_DEREGISTER_CALLBACKI value) Sets the specified value to thesys_deregisterfield. -
sys_mix
public FMOD_DSP_DESCRIPTION.Buffer sys_mix(@NativeType("FMOD_DSP_SYSTEM_MIX_CALLBACK") @Nullable FMOD_DSP_SYSTEM_MIX_CALLBACKI value) Sets the specified value to thesys_mixfield.
-