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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe 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_PROPERTIESinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic FMOD_REVERB_PROPERTIEScalloc()Returns a newFMOD_REVERB_PROPERTIESinstance allocated withmemCalloc.calloc(int capacity) Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static FMOD_REVERB_PROPERTIEScalloc(MemoryStack stack) Returns a newFMOD_REVERB_PROPERTIESinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static FMOD_REVERB_PROPERTIEScreate()Returns a newFMOD_REVERB_PROPERTIESinstance allocated withBufferUtils.create(int capacity) Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated withBufferUtils.static FMOD_REVERB_PROPERTIEScreate(long address) Returns a newFMOD_REVERB_PROPERTIESinstance for the specified memory address.create(long address, int capacity) Create aFMOD_REVERB_PROPERTIES.Bufferinstance at the specified memory.static @Nullable FMOD_REVERB_PROPERTIEScreateSafe(long address) static @Nullable FMOD_REVERB_PROPERTIES.BuffercreateSafe(long address, int capacity) floatDecayTime(float value) Sets the specified value to theDecayTimefield.floatDensity()Density(float value) Sets the specified value to theDensityfield.floatDiffusion(float value) Sets the specified value to theDiffusionfield.floatEarlyDelay(float value) Sets the specified value to theEarlyDelayfield.floatEarlyLateMix(float value) Sets the specified value to theEarlyLateMixfield.floatHFDecayRatio(float value) Sets the specified value to theHFDecayRatiofield.floatHFReference(float value) Sets the specified value to theHFReferencefield.floatHighCut()HighCut(float value) Sets the specified value to theHighCutfield.floatLateDelay(float value) Sets the specified value to theLateDelayfield.floatLowShelfFrequency(float value) Sets the specified value to theLowShelfFrequencyfield.floatLowShelfGain(float value) Sets the specified value to theLowShelfGainfield.static FMOD_REVERB_PROPERTIESmalloc()Returns a newFMOD_REVERB_PROPERTIESinstance allocated withmemAlloc.malloc(int capacity) Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated on the specifiedMemoryStack.static FMOD_REVERB_PROPERTIESmalloc(MemoryStack stack) Returns a newFMOD_REVERB_PROPERTIESinstance allocated on the specifiedMemoryStack.static floatnDecayTime(long struct) Unsafe version ofDecayTime().static voidnDecayTime(long struct, float value) Unsafe version ofDecayTime.static floatnDensity(long struct) Unsafe version ofDensity().static voidnDensity(long struct, float value) Unsafe version ofDensity.static floatnDiffusion(long struct) Unsafe version ofDiffusion().static voidnDiffusion(long struct, float value) Unsafe version ofDiffusion.static floatnEarlyDelay(long struct) Unsafe version ofEarlyDelay().static voidnEarlyDelay(long struct, float value) Unsafe version ofEarlyDelay.static floatnEarlyLateMix(long struct) Unsafe version ofEarlyLateMix().static voidnEarlyLateMix(long struct, float value) Unsafe version ofEarlyLateMix.static floatnHFDecayRatio(long struct) Unsafe version ofHFDecayRatio().static voidnHFDecayRatio(long struct, float value) Unsafe version ofHFDecayRatio.static floatnHFReference(long struct) Unsafe version ofHFReference().static voidnHFReference(long struct, float value) Unsafe version ofHFReference.static floatnHighCut(long struct) Unsafe version ofHighCut().static voidnHighCut(long struct, float value) Unsafe version ofHighCut.static floatnLateDelay(long struct) Unsafe version ofLateDelay().static voidnLateDelay(long struct, float value) Unsafe version ofLateDelay.static floatnLowShelfFrequency(long struct) Unsafe version ofLowShelfFrequency().static voidnLowShelfFrequency(long struct, float value) Unsafe version ofLowShelfFrequency.static floatnLowShelfGain(long struct) Unsafe version ofLowShelfGain().static voidnLowShelfGain(long struct, float value) Unsafe version ofLowShelfGain.static floatnWetLevel(long struct) Unsafe version ofWetLevel().static voidnWetLevel(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.intsizeof()Returnssizeof(struct).floatWetLevel()WetLevel(float value) Sets the specified value to theWetLevelfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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_PROPERTIESinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<FMOD_REVERB_PROPERTIES>
-
DecayTime
public float DecayTime()- Returns:
- the value of the
DecayTimefield.
-
EarlyDelay
public float EarlyDelay()- Returns:
- the value of the
EarlyDelayfield.
-
LateDelay
public float LateDelay()- Returns:
- the value of the
LateDelayfield.
-
HFReference
public float HFReference()- Returns:
- the value of the
HFReferencefield.
-
HFDecayRatio
public float HFDecayRatio()- Returns:
- the value of the
HFDecayRatiofield.
-
Diffusion
public float Diffusion()- Returns:
- the value of the
Diffusionfield.
-
Density
public float Density()- Returns:
- the value of the
Densityfield.
-
LowShelfFrequency
public float LowShelfFrequency()- Returns:
- the value of the
LowShelfFrequencyfield.
-
LowShelfGain
public float LowShelfGain()- Returns:
- the value of the
LowShelfGainfield.
-
HighCut
public float HighCut()- Returns:
- the value of the
HighCutfield.
-
EarlyLateMix
public float EarlyLateMix()- Returns:
- the value of the
EarlyLateMixfield.
-
WetLevel
public float WetLevel()- Returns:
- the value of the
WetLevelfield.
-
DecayTime
Sets the specified value to theDecayTimefield. -
EarlyDelay
Sets the specified value to theEarlyDelayfield. -
LateDelay
Sets the specified value to theLateDelayfield. -
HFReference
Sets the specified value to theHFReferencefield. -
HFDecayRatio
Sets the specified value to theHFDecayRatiofield. -
Diffusion
Sets the specified value to theDiffusionfield. -
Density
Sets the specified value to theDensityfield. -
LowShelfFrequency
Sets the specified value to theLowShelfFrequencyfield. -
LowShelfGain
Sets the specified value to theLowShelfGainfield. -
HighCut
Sets the specified value to theHighCutfield. -
EarlyLateMix
Sets the specified value to theEarlyLateMixfield. -
WetLevel
Sets the specified value to theWetLevelfield. -
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_PROPERTIESinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newFMOD_REVERB_PROPERTIESinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newFMOD_REVERB_PROPERTIESinstance allocated withBufferUtils. -
create
Returns a newFMOD_REVERB_PROPERTIESinstance for the specified memory address. -
createSafe
-
malloc
Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aFMOD_REVERB_PROPERTIES.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newFMOD_REVERB_PROPERTIESinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newFMOD_REVERB_PROPERTIESinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newFMOD_REVERB_PROPERTIES.Bufferinstance allocated on the specifiedMemoryStackand 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.
-