mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
15 changed files with 784842 additions and 0 deletions
39
Brutal.Fmod/FmodStudioApi/Generated/Structs/BankInfo.gen.cs
Normal file
39
Brutal.Fmod/FmodStudioApi/Generated/Structs/BankInfo.gen.cs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Information for loading a bank using user callbacks.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-system.html#fmod_studio_bank_info">FMOD_STUDIO_BANK_INFO</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 56)]
|
||||
public partial struct BankInfo
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int Size;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public nint UserData;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public int UserDataLength;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public FileOpenCallbackPtr OpenCallback;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public FileCloseCallbackPtr CloseCallback;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public FileReadCallbackPtr ReadCallback;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public FileSeekCallbackPtr SeekCallback;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Information for a single buffer in FMOD Studio.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-system.html#fmod_studio_buffer_info">FMOD_STUDIO_BUFFER_INFO</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 20)]
|
||||
public partial struct BufferInfo
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int CurrentUsage;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public int PeakUsage;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public int Capacity;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public int StallCount;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public float StallTime;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Information for FMOD Studio buffer usage.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-system.html#fmod_studio_buffer_usage">FMOD_STUDIO_BUFFER_USAGE</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
||||
public partial struct BufferUsage
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public BufferInfo StudioCommandQueue;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public BufferInfo StudioHandle;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes a command replay command.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-commandreplay.html#fmod_studio_command_info">FMOD_STUDIO_COMMAND_INFO</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
||||
public unsafe partial struct CommandInfo
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public byte* CommandName;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public int ParentCommandIndex;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public int FrameNumber;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public float FrameTime;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public InstanceType InstanceType;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public InstanceType OutputType;
|
||||
|
||||
[FieldOffset(28)]
|
||||
public uint InstanceHandle;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public uint OutputHandle;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Memory usage statistics.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-common.html#fmod_studio_memory_usage">FMOD_STUDIO_MEMORY_USAGE</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct MemoryUsage
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int Exclusive;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public int Inclusive;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public int SampleData;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes an event parameter.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-common.html#fmod_studio_parameter_description">FMOD_STUDIO_PARAMETER_DESCRIPTION</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 56)]
|
||||
public unsafe partial struct ParameterDescription
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public byte* Name;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public ParameterId Id;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public float Minimum;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public float Maximum;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public float DefaultValue;
|
||||
|
||||
[FieldOffset(28)]
|
||||
public ParameterType Type;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public ParameterFlags Flags;
|
||||
|
||||
[FieldOffset(36)]
|
||||
public Guid Guid;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes an event parameter identifier.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-common.html#fmod_studio_parameter_id">FMOD_STUDIO_PARAMETER_ID</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
||||
public partial struct ParameterId
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public uint Data1;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public uint Data2;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes a DSP plug-in instance.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-eventinstance.html#fmod_studio_plugin_instance_properties">FMOD_STUDIO_PLUGIN_INSTANCE_PROPERTIES</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public unsafe partial struct PluginInstanceProperties
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public byte* Name;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public Dsp Dsp;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes a programmer sound.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-eventinstance.html#fmod_studio_programmer_sound_properties">FMOD_STUDIO_PROGRAMMER_SOUND_PROPERTIES</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
||||
public unsafe partial struct ProgrammerSoundProperties
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public byte* Name;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public Sound Sound;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public int SubsoundIndex;
|
||||
}
|
||||
}
|
||||
30
Brutal.Fmod/FmodStudioApi/Generated/Structs/SoundInfo.gen.cs
Normal file
30
Brutal.Fmod/FmodStudioApi/Generated/Structs/SoundInfo.gen.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes a sound in the audio table.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-system.html#fmod_studio_sound_info">FMOD_STUDIO_SOUND_INFO</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 248)]
|
||||
public unsafe partial struct SoundInfo
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public byte* NameOrData;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public Mode Mode;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public CreateSoundExInfo ExInfo;
|
||||
|
||||
[FieldOffset(240)]
|
||||
public int SubSoundIndex;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Settings for advanced features like configuring memory and cpu usage.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-system.html#fmod_studio_advancedsettings">FMOD_STUDIO_ADVANCEDSETTINGS</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public unsafe partial struct StudioAdvancedSettings
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int CbSize;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public uint CommandQueueSize;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public uint HandleInitialSize;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public int StudioUpdatePeriod;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public int IdleSampleDataPoolSize;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public uint StreamingScheduleDelay;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public byte* EncryptionKey;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Performance information for Studio API functionality.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-system.html#fmod_studio_cpu_usage">FMOD_STUDIO_CPU_USAGE</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 4)]
|
||||
public partial struct StudioCpuUsage
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public float Update;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes a beat on the timeline.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-eventinstance.html#fmod_studio_timeline_beat_properties">FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
||||
public partial struct TimelineBeatProperties
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public int Bar;
|
||||
|
||||
[FieldOffset(4)]
|
||||
public int Beat;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public int Position;
|
||||
|
||||
[FieldOffset(12)]
|
||||
public float Tempo;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public int TimeSignatureUpper;
|
||||
|
||||
[FieldOffset(20)]
|
||||
public int TimeSignatureLower;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes a marker on the timeline.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-eventinstance.html#fmod_studio_timeline_marker_properties">FMOD_STUDIO_TIMELINE_MARKER_PROPERTIES</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public unsafe partial struct TimelineMarkerProperties
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public byte* Name;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public int Position;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Fmod.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.FmodApi.Studio
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Describes a beat on the timeline from a nested event.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <see href="https://www.fmod.com/docs/2.03/api/studio-api-eventinstance.html#fmod_studio_timeline_nested_beat_properties">FMOD_STUDIO_TIMELINE_NESTED_BEAT_PROPERTIES</see>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
||||
public partial struct TimelineNestedBeatProperties
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public Guid EventId;
|
||||
|
||||
[FieldOffset(16)]
|
||||
public TimelineBeatProperties Properties;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue