mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,99 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
public static unsafe partial class AlDebug
|
||||
{
|
||||
/// <summary>
|
||||
/// Labels the auxiliary effect slot for diagnostics (<c>alObjectLabelEXT</c>); a <see langword="null"/> label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlAuxiliaryEffectSlot auxiliaryEffectSlot, string? label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.AuxiliaryEffectSlot, auxiliaryEffectSlot.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Labels the auxiliary effect slot for diagnostics (<c>alObjectLabelEXT</c>) from UTF-8 bytes (no transcode, no allocation); an empty label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlAuxiliaryEffectSlot auxiliaryEffectSlot, ReadOnlySpan<byte> label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.AuxiliaryEffectSlot, auxiliaryEffectSlot.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Labels the buffer for diagnostics (<c>alObjectLabelEXT</c>); a <see langword="null"/> label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlBuffer buffer, string? label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.Buffer, buffer.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Labels the buffer for diagnostics (<c>alObjectLabelEXT</c>) from UTF-8 bytes (no transcode, no allocation); an empty label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlBuffer buffer, ReadOnlySpan<byte> label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.Buffer, buffer.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Labels the effect for diagnostics (<c>alObjectLabelEXT</c>); a <see langword="null"/> label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlEffect effect, string? label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.Effect, effect.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Labels the effect for diagnostics (<c>alObjectLabelEXT</c>) from UTF-8 bytes (no transcode, no allocation); an empty label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlEffect effect, ReadOnlySpan<byte> label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.Effect, effect.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Labels the filter for diagnostics (<c>alObjectLabelEXT</c>); a <see langword="null"/> label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlFilter filter, string? label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.Filter, filter.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Labels the filter for diagnostics (<c>alObjectLabelEXT</c>) from UTF-8 bytes (no transcode, no allocation); an empty label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlFilter filter, ReadOnlySpan<byte> label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.Filter, filter.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Labels the source for diagnostics (<c>alObjectLabelEXT</c>); a <see langword="null"/> label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlSource source, string? label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.Source, source.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Labels the source for diagnostics (<c>alObjectLabelEXT</c>) from UTF-8 bytes (no transcode, no allocation); an empty label clears it.
|
||||
/// </summary>
|
||||
public static void ObjectLabel(AlSource source, ReadOnlySpan<byte> label) =>
|
||||
ObjectLabel(AlObjectLabelIdentifier.Source, source.Name, label);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the auxiliary effect slot's diagnostic label (<c>alGetObjectLabelEXT</c>) as UTF-8 bytes, or an empty span if none was set; see <see cref="GetObjectLabel(AlObjectLabelIdentifier, uint)"/> for the returned span's validity rules.
|
||||
/// </summary>
|
||||
public static ReadOnlySpan<byte> GetObjectLabel(AlAuxiliaryEffectSlot auxiliaryEffectSlot) =>
|
||||
GetObjectLabel(AlObjectLabelIdentifier.AuxiliaryEffectSlot, auxiliaryEffectSlot.Name);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the buffer's diagnostic label (<c>alGetObjectLabelEXT</c>) as UTF-8 bytes, or an empty span if none was set; see <see cref="GetObjectLabel(AlObjectLabelIdentifier, uint)"/> for the returned span's validity rules.
|
||||
/// </summary>
|
||||
public static ReadOnlySpan<byte> GetObjectLabel(AlBuffer buffer) =>
|
||||
GetObjectLabel(AlObjectLabelIdentifier.Buffer, buffer.Name);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the effect's diagnostic label (<c>alGetObjectLabelEXT</c>) as UTF-8 bytes, or an empty span if none was set; see <see cref="GetObjectLabel(AlObjectLabelIdentifier, uint)"/> for the returned span's validity rules.
|
||||
/// </summary>
|
||||
public static ReadOnlySpan<byte> GetObjectLabel(AlEffect effect) =>
|
||||
GetObjectLabel(AlObjectLabelIdentifier.Effect, effect.Name);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the filter's diagnostic label (<c>alGetObjectLabelEXT</c>) as UTF-8 bytes, or an empty span if none was set; see <see cref="GetObjectLabel(AlObjectLabelIdentifier, uint)"/> for the returned span's validity rules.
|
||||
/// </summary>
|
||||
public static ReadOnlySpan<byte> GetObjectLabel(AlFilter filter) =>
|
||||
GetObjectLabel(AlObjectLabelIdentifier.Filter, filter.Name);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the source's diagnostic label (<c>alGetObjectLabelEXT</c>) as UTF-8 bytes, or an empty span if none was set; see <see cref="GetObjectLabel(AlObjectLabelIdentifier, uint)"/> for the returned span's validity rules.
|
||||
/// </summary>
|
||||
public static ReadOnlySpan<byte> GetObjectLabel(AlSource source) =>
|
||||
GetObjectLabel(AlObjectLabelIdentifier.Source, source.Name);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue