Class FMOD_OUTPUT_STATE.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<FMOD_OUTPUT_STATE.Buffer>
org.lwjgl.system.StructBuffer<FMOD_OUTPUT_STATE, FMOD_OUTPUT_STATE.Buffer>
org.lwjgl.fmod.FMOD_OUTPUT_STATE.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<FMOD_OUTPUT_STATE>, NativeResource, Pointer
- Enclosing class:
FMOD_OUTPUT_STATE
public static class FMOD_OUTPUT_STATE.Buffer
extends StructBuffer<FMOD_OUTPUT_STATE, FMOD_OUTPUT_STATE.Buffer>
implements NativeResource
An array of
FMOD_OUTPUT_STATE 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_OUTPUT_STATE.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionalloc()alloc(FMOD_OUTPUT_ALLOC_FUNCI value) Sets the specified value to theallocfield.copyport()Sets the specified value to thecopyportfield.free$()free$(FMOD_OUTPUT_FREE_FUNCI value) Sets the specified value to thefreefield.log()log(FMOD_OUTPUT_LOG_FUNCI value) Sets the specified value to thelogfield.longplugindata(long value) Sets the specified value to theplugindatafield.Sets the specified value to thereadfrommixerfield.Sets the specified value to therequestresetfield.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_OUTPUT_STATE.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_OUTPUT_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
-
plugindata
- Returns:
- the value of the
plugindatafield.
-
readfrommixer
- Returns:
- the value of the
readfrommixerfield.
-
alloc
- Returns:
- the value of the
allocfield.
-
free$
- Returns:
- the value of the
freefield.
-
log
- Returns:
- the value of the
logfield.
-
copyport
- Returns:
- the value of the
copyportfield.
-
requestreset
- Returns:
- the value of the
requestresetfield.
-
plugindata
Sets the specified value to theplugindatafield. -
readfrommixer
public FMOD_OUTPUT_STATE.Buffer readfrommixer(@NativeType("FMOD_OUTPUT_READFROMMIXER_FUNC") FMOD_OUTPUT_READFROMMIXER_FUNCI value) Sets the specified value to thereadfrommixerfield. -
alloc
public FMOD_OUTPUT_STATE.Buffer alloc(@NativeType("FMOD_OUTPUT_ALLOC_FUNC") FMOD_OUTPUT_ALLOC_FUNCI value) Sets the specified value to theallocfield. -
free$
public FMOD_OUTPUT_STATE.Buffer free$(@NativeType("FMOD_OUTPUT_FREE_FUNC") FMOD_OUTPUT_FREE_FUNCI value) Sets the specified value to thefreefield. -
log
public FMOD_OUTPUT_STATE.Buffer log(@NativeType("FMOD_OUTPUT_LOG_FUNC") FMOD_OUTPUT_LOG_FUNCI value) Sets the specified value to thelogfield. -
copyport
public FMOD_OUTPUT_STATE.Buffer copyport(@NativeType("FMOD_OUTPUT_COPYPORT_FUNC") FMOD_OUTPUT_COPYPORT_FUNCI value) Sets the specified value to thecopyportfield. -
requestreset
public FMOD_OUTPUT_STATE.Buffer requestreset(@NativeType("FMOD_OUTPUT_REQUESTRESET_FUNC") FMOD_OUTPUT_REQUESTRESET_FUNCI value) Sets the specified value to therequestresetfield.
-