Class for handling the HaxeAL EFX extension.
Static variables
Static methods
staticauxiliaryEffectSlotf(auxslot:ALAuxSlot, param:Int, value:Float):Void
Sets the float value for the target parameter of the given Auxiliary Effect Slot.
Parameters:
auxslot | Auxiliary Effect Slot to change parameter of. |
---|---|
param | Param to set value of. |
value | New float value of the param. |
staticauxiliaryEffectSlotfv(auxslot:ALAuxSlot, param:Int, values:Array<Float>):Void
Sets an array of float values for the target parameter of the given Auxiliary Effect Slot.
Parameters:
auxslot | Auxiliary Effect Slot to change parameter of. |
---|---|
param | Param to set values of. |
value | New float values of the param as an array (array length should be the same as amount of values the parameter takes). |
staticauxiliaryEffectSloti(auxslot:ALAuxSlot, param:Int, value:Null<Int>):Void
Sets the integer value for the target parameter of the given auxslot.
Parameters:
auxslot | Auxiliary Effect Slot to change parameter of. |
---|---|
param | Param to set value of. |
value | New integer value of the param. |
staticauxiliaryEffectSlotiv(auxslot:ALAuxSlot, param:Int, values:Array<Int>):Void
Sets an array of integer values for the target parameter of the given Auxiliary Effect Slot.
Parameters:
auxslot | Auxiliary Effect Slot to change parameter of. |
---|---|
param | Param to set values of. |
value | New integer values of the param as an array (array length should be the same as amount of values the parameter takes). |
staticcreateAuxiliaryEffectSlots(num:Int):Array<ALAuxSlot>
Returns an array of Auxiliary Effect Slots.
Parameters:
num | Amount of slots to return. |
---|
staticcreateEffects(num:Int):Array<ALEffect>
Returns an array of ALEffects.
Parameters:
num | Amount of effects to return. |
---|
staticcreateFilters(num:Int):Array<ALFilter>
Returns an array of ALFilters.
Parameters:
num | Amount of filters to return. |
---|
staticdeleteAuxiliaryEffectSlot(auxslot:ALAuxSlot):Void
Deletes a singular ALAuxSlot
Parameters:
auxslot | Auxiliary Effect Slot to delete. |
---|
staticdeleteAuxiliaryEffectSlots(auxslots:Array<ALAuxSlot>):Void
Deletes an array of Auxiliary Effect Slots.
Parameters:
auxslots | Auxiliary Effect Slots to delete. |
---|
staticdeleteEffect(effect:ALEffect):Void
Deletes a singular ALEffect
Parameters:
effect | Effect to delete. |
---|
staticdeleteEffects(effects:Array<ALEffect>):Void
Deletes an array of ALEffects.
Parameters:
effects | Effects to delete. |
---|
staticdeleteFilter(filter:ALFilter):Void
Deletes a singular ALFilter
Parameters:
filter | Filter to delete. |
---|
staticdeleteFilters(filters:Array<ALFilter>):Void
Deletes an array of ALFilters.
Parameters:
filters | Filters to delete. |
---|
staticeffectf(effect:ALEffect, param:Int, value:Float):Void
Sets the float value for the target parameter of the given effect.
Parameters:
effect | Effect to change parameter of. |
---|---|
param | Param to set value of. |
value | New float value of the param. |
staticeffectfv(effect:ALEffect, param:Int, values:Array<Float>):Void
Sets an array of float values for the target parameter of the given effect.
Parameters:
effect | Effect to change parameter of. |
---|---|
param | Param to set values of. |
value | New float values of the param as an array (array length should be the same as amount of values the parameter takes). |
staticeffecti(effect:ALEffect, param:Int, value:Int):Void
Sets the integer value for the target parameter of the given effect.
Parameters:
effect | Effect to change parameter of. |
---|---|
param | Param to set value of. |
value | New integer value of the param. |
staticeffectiv(effect:ALEffect, param:Int, values:Array<Int>):Void
Sets an array of integer values for the target parameter of the given effect.
Parameters:
effect | Effect to change parameter of. |
---|---|
param | Param to set values of. |
value | New integer values of the param as an array (array length should be the same as amount of values the parameter takes). |
staticfilterf(filter:ALFilter, param:Int, value:Float):Void
Sets the float value for the target parameter of the given filter.
Parameters:
filter | Filter to change parameter of. |
---|---|
param | Param to set value of. |
value | New float value of the param. |
staticfilterfv(filter:ALFilter, param:Int, values:Array<Float>):Void
Sets an array of float values for the target parameter of the given filter.
Parameters:
filter | Filter to change parameter of. |
---|---|
param | Param to set values of. |
value | New float values of the param as an array (array length should be the same as amount of values the parameter takes). |
staticfilteri(filter:ALFilter, param:Int, value:Null<Int>):Void
Sets the integer value for the target parameter of the given filter.
Parameters:
filter | Filter to change parameter of. |
---|---|
param | Param to set value of. |
value | New integer value of the param. |
staticfilteriv(filter:ALFilter, param:Int, values:Array<Int>):Void
Sets an array of integer values for the target parameter of the given filter.
Parameters:
filter | Filter to change parameter of. |
---|---|
param | Param to set values of. |
value | New integer values of the param as an array (array length should be the same as amount of values the parameter takes). |
staticgetAuxiliaryEffectSlotf(auxslot:ALAuxSlot, param:Int):Float
Gets the float value for the target parameter of the given Auxiliary Effect Slot.
Parameters:
auxslot | Auxiliary Effect Slot to get parameter of. |
---|---|
param | Param to get value of. |
staticgetAuxiliaryEffectSlotfv(auxslot:ALAuxSlot, param:Int):Array<Float>
Returns an array of multiple float values for the target parameter of the given Auxiliary Effect Slot.
The array size is always 1, as there are no parameters that return an array for this object.
Parameters:
auxslot | Auxiliary Effect Slot to get parameter of. |
---|---|
param | Param to get values of. |
staticgetAuxiliaryEffectSloti(auxslot:ALAuxSlot, param:Int):Int
Gets the integer value for the target parameter of the given Auxiliary Effect Slot.
Parameters:
auxslot | Auxiliary Effect Slot to get parameter of. |
---|---|
param | Param to get value of. |
staticgetAuxiliaryEffectSlotiv(auxslot:ALAuxSlot, param:Int):Array<Int>
Returns an array of multiple integer values for the target parameter of the given Auxiliary Effect Slot.
The array size is always 1, as there are no parameters that return an array for this object.
Parameters:
auxslot | Auxiliary Effect Slot to get parameter of. |
---|---|
param | Param to get values of. |
staticgetEffectf(effect:ALEffect, param:Int):Float
Gets the float value for the target parameter of the given effect.
Parameters:
effect | Effect to get parameter of. |
---|---|
param | Param to get value of. |
staticgetEffectfv(effect:ALEffect, param:Int):Array<Float>
Returns an array of multiple float values for the target parameter of the given effect.
The array size depends on the given param.
Parameters:
effect | Effect to get parameter of. |
---|---|
param | Param to get values of. |
staticgetEffecti(effect:ALEffect, param:Int):Int
Gets the integer value for the target parameter of the given effect.
Parameters:
effect | Effect to get parameter of. |
---|---|
param | Param to get value of. |
staticgetEffectiv(effect:ALEffect, param:Int):Array<Int>
Returns an array of multiple integer values for the target parameter of the given effect.
The array size depends on the given param.
Parameters:
effect | Effect to get parameter of. |
---|---|
param | Param to get values of. |
staticgetFilterf(filter:ALFilter, param:Int):Float
Gets the float value for the target parameter of the given filter.
Parameters:
filter | Filter to get parameter of. |
---|---|
param | Param to get value of. |
staticgetFilterfv(filter:ALFilter, param:Int):Array<Float>
Returns an array of multiple float values for the target parameter of the given filter.
The array size is always 1, as there are no parameters that return an array for this object.
Parameters:
filter | Filter to get parameter of. |
---|---|
param | Param to get values of. |
staticgetFilteri(filter:ALFilter, param:Int):Int
Gets the integer value for the target parameter of the given filter.
Parameters:
filter | Filter to get parameter of. |
---|---|
param | Param to get value of. |
staticgetFilteriv(filter:ALFilter, param:Int):Array<Int>
Returns an array of multiple integer values for the target parameter of the given filter.
The array size is always 1, as there are no parameters that return an array for this object.
Parameters:
filter | Filter to get parameter of. |
---|---|
param | Param to get values of. |
staticinlineinitEFX():Void
Initializes the EFX extension.
The EFX extension will not work before this function is called once.
staticisAuxiliaryEffectSlot(auxslot:ALAuxSlot):Bool
Checks if the given slot is a valid ALAuxSlot object.
Parameters:
auxslot | Auxiliary Effect Slot to check validity of. |
---|