mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,66 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Al.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
public readonly unsafe partial struct AlAuxiliaryEffectSlot
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets <c>AL_EFFECTSLOT_EFFECT</c> (<c>alGetAuxiliaryEffectSloti</c>).
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type <c>ALuint</c>; default <c>AL_EFFECT_NULL</c>.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public AlEffect Effect
|
||||
{
|
||||
get => new AlEffect((uint)Al.GetAuxiliaryEffectSloti(Name, AL_EFFECTSLOT_EFFECT));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets/sets <c>AL_EFFECTSLOT_GAIN</c> (<c>alAuxiliaryEffectSlotf</c>/<c>alGetAuxiliaryEffectSlotf</c>).
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type <c>ALfloat</c>; range 0.0 to 1.0; default 1.0.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public float Gain
|
||||
{
|
||||
get => Al.GetAuxiliaryEffectSlotf(Name, AL_EFFECTSLOT_GAIN);
|
||||
set => Al.PInvoke.AuxiliaryEffectSlotf(Name, AL_EFFECTSLOT_GAIN, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets/sets <c>AL_EFFECTSLOT_AUXILIARY_SEND_AUTO</c> (<c>alAuxiliaryEffectSloti</c>/<c>alGetAuxiliaryEffectSloti</c>).
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type <c>ALboolean</c>; default <c>AL_TRUE</c>.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public bool SendAuto
|
||||
{
|
||||
get => Al.GetAuxiliaryEffectSloti(Name, AL_EFFECTSLOT_AUXILIARY_SEND_AUTO) != AL_FALSE;
|
||||
set => Al.PInvoke.AuxiliaryEffectSloti(Name, AL_EFFECTSLOT_AUXILIARY_SEND_AUTO, value ? AL_TRUE : AL_FALSE);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets/sets <c>AL_EFFECTSLOT_TARGET_SOFT</c> (<c>alAuxiliaryEffectSloti</c>/<c>alGetAuxiliaryEffectSloti</c>).
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type <c>ALuint</c>; default <c>AL_EFFECTSLOT_NULL</c>.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public AlAuxiliaryEffectSlot Target
|
||||
{
|
||||
get => new AlAuxiliaryEffectSlot((uint)Al.GetAuxiliaryEffectSloti(Name, AL_EFFECTSLOT_TARGET_SOFT));
|
||||
set => Al.PInvoke.AuxiliaryEffectSloti(Name, AL_EFFECTSLOT_TARGET_SOFT, (int)value.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue