Package org.lwjgl.fmod
Class FMOD_REVERB_PROPERTIES
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class FMOD_REVERB_PROPERTIES
extends Struct<FMOD_REVERB_PROPERTIES>
implements NativeResource
struct FMOD_REVERB_PROPERTIES {
float DecayTime;
float EarlyDelay;
float LateDelay;
float HFReference;
float HFDecayRatio;
float Diffusion;
float Density;
float LowShelfFrequency;
float LowShelfGain;
float HighCut;
float EarlyLateMix;
float WetLevel;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionFMOD_REVERB_PROPERTIES
(ByteBuffer container) Creates aFMOD_REVERB_PROPERTIES
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic FMOD_REVERB_PROPERTIES
calloc()
Returns a newFMOD_REVERB_PROPERTIES
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static FMOD_REVERB_PROPERTIES
calloc
(MemoryStack stack) Returns a newFMOD_REVERB_PROPERTIES
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static FMOD_REVERB_PROPERTIES
create()
Returns a newFMOD_REVERB_PROPERTIES
instance allocated withBufferUtils
.create
(int capacity) Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated withBufferUtils
.static FMOD_REVERB_PROPERTIES
create
(long address) Returns a newFMOD_REVERB_PROPERTIES
instance for the specified memory address.create
(long address, int capacity) Create aFMOD_REVERB_PROPERTIES.Buffer
instance at the specified memory.static @Nullable FMOD_REVERB_PROPERTIES
createSafe
(long address) static @Nullable FMOD_REVERB_PROPERTIES.Buffer
createSafe
(long address, int capacity) float
DecayTime
(float value) Sets the specified value to theDecayTime
field.float
Density()
Density
(float value) Sets the specified value to theDensity
field.float
Diffusion
(float value) Sets the specified value to theDiffusion
field.float
EarlyDelay
(float value) Sets the specified value to theEarlyDelay
field.float
EarlyLateMix
(float value) Sets the specified value to theEarlyLateMix
field.float
HFDecayRatio
(float value) Sets the specified value to theHFDecayRatio
field.float
HFReference
(float value) Sets the specified value to theHFReference
field.float
HighCut()
HighCut
(float value) Sets the specified value to theHighCut
field.float
LateDelay
(float value) Sets the specified value to theLateDelay
field.float
LowShelfFrequency
(float value) Sets the specified value to theLowShelfFrequency
field.float
LowShelfGain
(float value) Sets the specified value to theLowShelfGain
field.static FMOD_REVERB_PROPERTIES
malloc()
Returns a newFMOD_REVERB_PROPERTIES
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated on the specifiedMemoryStack
.static FMOD_REVERB_PROPERTIES
malloc
(MemoryStack stack) Returns a newFMOD_REVERB_PROPERTIES
instance allocated on the specifiedMemoryStack
.static float
nDecayTime
(long struct) Unsafe version ofDecayTime()
.static void
nDecayTime
(long struct, float value) Unsafe version ofDecayTime
.static float
nDensity
(long struct) Unsafe version ofDensity()
.static void
nDensity
(long struct, float value) Unsafe version ofDensity
.static float
nDiffusion
(long struct) Unsafe version ofDiffusion()
.static void
nDiffusion
(long struct, float value) Unsafe version ofDiffusion
.static float
nEarlyDelay
(long struct) Unsafe version ofEarlyDelay()
.static void
nEarlyDelay
(long struct, float value) Unsafe version ofEarlyDelay
.static float
nEarlyLateMix
(long struct) Unsafe version ofEarlyLateMix()
.static void
nEarlyLateMix
(long struct, float value) Unsafe version ofEarlyLateMix
.static float
nHFDecayRatio
(long struct) Unsafe version ofHFDecayRatio()
.static void
nHFDecayRatio
(long struct, float value) Unsafe version ofHFDecayRatio
.static float
nHFReference
(long struct) Unsafe version ofHFReference()
.static void
nHFReference
(long struct, float value) Unsafe version ofHFReference
.static float
nHighCut
(long struct) Unsafe version ofHighCut()
.static void
nHighCut
(long struct, float value) Unsafe version ofHighCut
.static float
nLateDelay
(long struct) Unsafe version ofLateDelay()
.static void
nLateDelay
(long struct, float value) Unsafe version ofLateDelay
.static float
nLowShelfFrequency
(long struct) Unsafe version ofLowShelfFrequency()
.static void
nLowShelfFrequency
(long struct, float value) Unsafe version ofLowShelfFrequency
.static float
nLowShelfGain
(long struct) Unsafe version ofLowShelfGain()
.static void
nLowShelfGain
(long struct, float value) Unsafe version ofLowShelfGain
.static float
nWetLevel
(long struct) Unsafe version ofWetLevel()
.static void
nWetLevel
(long struct, float value) Unsafe version ofWetLevel
.set
(float DecayTime, float EarlyDelay, float LateDelay, float HFReference, float HFDecayRatio, float Diffusion, float Density, float LowShelfFrequency, float LowShelfGain, float HighCut, float EarlyLateMix, float WetLevel) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.float
WetLevel()
WetLevel
(float value) Sets the specified value to theWetLevel
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
DECAYTIME
public static final int DECAYTIMEThe struct member offsets. -
EARLYDELAY
public static final int EARLYDELAYThe struct member offsets. -
LATEDELAY
public static final int LATEDELAYThe struct member offsets. -
HFREFERENCE
public static final int HFREFERENCEThe struct member offsets. -
HFDECAYRATIO
public static final int HFDECAYRATIOThe struct member offsets. -
DIFFUSION
public static final int DIFFUSIONThe struct member offsets. -
DENSITY
public static final int DENSITYThe struct member offsets. -
LOWSHELFFREQUENCY
public static final int LOWSHELFFREQUENCYThe struct member offsets. -
LOWSHELFGAIN
public static final int LOWSHELFGAINThe struct member offsets. -
HIGHCUT
public static final int HIGHCUTThe struct member offsets. -
EARLYLATEMIX
public static final int EARLYLATEMIXThe struct member offsets. -
WETLEVEL
public static final int WETLEVELThe struct member offsets.
-
-
Constructor Details
-
FMOD_REVERB_PROPERTIES
Creates aFMOD_REVERB_PROPERTIES
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<FMOD_REVERB_PROPERTIES>
-
DecayTime
public float DecayTime()- Returns:
- the value of the
DecayTime
field.
-
EarlyDelay
public float EarlyDelay()- Returns:
- the value of the
EarlyDelay
field.
-
LateDelay
public float LateDelay()- Returns:
- the value of the
LateDelay
field.
-
HFReference
public float HFReference()- Returns:
- the value of the
HFReference
field.
-
HFDecayRatio
public float HFDecayRatio()- Returns:
- the value of the
HFDecayRatio
field.
-
Diffusion
public float Diffusion()- Returns:
- the value of the
Diffusion
field.
-
Density
public float Density()- Returns:
- the value of the
Density
field.
-
LowShelfFrequency
public float LowShelfFrequency()- Returns:
- the value of the
LowShelfFrequency
field.
-
LowShelfGain
public float LowShelfGain()- Returns:
- the value of the
LowShelfGain
field.
-
HighCut
public float HighCut()- Returns:
- the value of the
HighCut
field.
-
EarlyLateMix
public float EarlyLateMix()- Returns:
- the value of the
EarlyLateMix
field.
-
WetLevel
public float WetLevel()- Returns:
- the value of the
WetLevel
field.
-
DecayTime
Sets the specified value to theDecayTime
field. -
EarlyDelay
Sets the specified value to theEarlyDelay
field. -
LateDelay
Sets the specified value to theLateDelay
field. -
HFReference
Sets the specified value to theHFReference
field. -
HFDecayRatio
Sets the specified value to theHFDecayRatio
field. -
Diffusion
Sets the specified value to theDiffusion
field. -
Density
Sets the specified value to theDensity
field. -
LowShelfFrequency
Sets the specified value to theLowShelfFrequency
field. -
LowShelfGain
Sets the specified value to theLowShelfGain
field. -
HighCut
Sets the specified value to theHighCut
field. -
EarlyLateMix
Sets the specified value to theEarlyLateMix
field. -
WetLevel
Sets the specified value to theWetLevel
field. -
set
public FMOD_REVERB_PROPERTIES set(float DecayTime, float EarlyDelay, float LateDelay, float HFReference, float HFDecayRatio, float Diffusion, float Density, float LowShelfFrequency, float LowShelfGain, float HighCut, float EarlyLateMix, float WetLevel) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newFMOD_REVERB_PROPERTIES
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newFMOD_REVERB_PROPERTIES
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newFMOD_REVERB_PROPERTIES
instance allocated withBufferUtils
. -
create
Returns a newFMOD_REVERB_PROPERTIES
instance for the specified memory address. -
createSafe
-
malloc
Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aFMOD_REVERB_PROPERTIES.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newFMOD_REVERB_PROPERTIES
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newFMOD_REVERB_PROPERTIES
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newFMOD_REVERB_PROPERTIES.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nDecayTime
public static float nDecayTime(long struct) Unsafe version ofDecayTime()
. -
nEarlyDelay
public static float nEarlyDelay(long struct) Unsafe version ofEarlyDelay()
. -
nLateDelay
public static float nLateDelay(long struct) Unsafe version ofLateDelay()
. -
nHFReference
public static float nHFReference(long struct) Unsafe version ofHFReference()
. -
nHFDecayRatio
public static float nHFDecayRatio(long struct) Unsafe version ofHFDecayRatio()
. -
nDiffusion
public static float nDiffusion(long struct) Unsafe version ofDiffusion()
. -
nDensity
public static float nDensity(long struct) Unsafe version ofDensity()
. -
nLowShelfFrequency
public static float nLowShelfFrequency(long struct) Unsafe version ofLowShelfFrequency()
. -
nLowShelfGain
public static float nLowShelfGain(long struct) Unsafe version ofLowShelfGain()
. -
nHighCut
public static float nHighCut(long struct) Unsafe version ofHighCut()
. -
nEarlyLateMix
public static float nEarlyLateMix(long struct) Unsafe version ofEarlyLateMix()
. -
nWetLevel
public static float nWetLevel(long struct) Unsafe version ofWetLevel()
. -
nDecayTime
public static void nDecayTime(long struct, float value) Unsafe version ofDecayTime
. -
nEarlyDelay
public static void nEarlyDelay(long struct, float value) Unsafe version ofEarlyDelay
. -
nLateDelay
public static void nLateDelay(long struct, float value) Unsafe version ofLateDelay
. -
nHFReference
public static void nHFReference(long struct, float value) Unsafe version ofHFReference
. -
nHFDecayRatio
public static void nHFDecayRatio(long struct, float value) Unsafe version ofHFDecayRatio
. -
nDiffusion
public static void nDiffusion(long struct, float value) Unsafe version ofDiffusion
. -
nDensity
public static void nDensity(long struct, float value) Unsafe version ofDensity
. -
nLowShelfFrequency
public static void nLowShelfFrequency(long struct, float value) Unsafe version ofLowShelfFrequency
. -
nLowShelfGain
public static void nLowShelfGain(long struct, float value) Unsafe version ofLowShelfGain
. -
nHighCut
public static void nHighCut(long struct, float value) Unsafe version ofHighCut
. -
nEarlyLateMix
public static void nEarlyLateMix(long struct, float value) Unsafe version ofEarlyLateMix
. -
nWetLevel
public static void nWetLevel(long struct, float value) Unsafe version ofWetLevel
.
-