SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d
5 changed files with 768360 additions and 0 deletions

View file

@ -0,0 +1,29 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.InteropServices;
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3221">imgui.h:3221</see>
/// <br/><c>typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// ImDrawCallback: Draw callbacks for advanced uses [configurable type: override in imconfig.h]
/// NB: You most likely do NOT need to use draw callbacks just to create your own widget or customized UI rendering,
/// you can poke into the draw list for that! Draw callback may be useful for example to:
/// A) Change your GPU render state,
/// B) render a complex 3D scene inside a UI element without an intermediate texture/render target, etc.
/// The expected behavior from your rendering function is 'if (cmd.UserCallback != NULL) { cmd.UserCallback(parent_list, cmd); } else { RenderTriangles() }'
/// If you want to override the signature of ImDrawCallback, you can simply use e.g. '#define ImDrawCallback MyDrawCallback' (in imconfig.h) + update rendering backend accordingly.
/// </code>
/// </remarks>
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void ImDrawCallback(ImDrawList* parent_list, ImDrawCmd* cmd);
}

View file

@ -0,0 +1,26 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.InteropServices;
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// Callback function for ImGui::InputText()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L290">imgui.h:290</see>
/// <br/><c>typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData* data)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback and functions types
/// </para>
/// </remarks>
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate int ImGuiInputTextCallback(ImGuiInputTextCallbackData* data);
}

View file

@ -0,0 +1,26 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.InteropServices;
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// Function signature for ImGui::SetAllocatorFunctions()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L292">imgui.h:292</see>
/// <br/><c>typedef void* (*ImGuiMemAllocFunc)(size_t sz, void* user_data)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback and functions types
/// </para>
/// </remarks>
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void* ImGuiMemAllocFunc(nuint sz, void* user_data);
}

View file

@ -0,0 +1,26 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.InteropServices;
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// Function signature for ImGui::SetAllocatorFunctions()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L293">imgui.h:293</see>
/// <br/><c>typedef void (*ImGuiMemFreeFunc)(void* ptr, void* user_data)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback and functions types
/// </para>
/// </remarks>
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void ImGuiMemFreeFunc(void* ptr, void* user_data);
}

View file

@ -0,0 +1,26 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.InteropServices;
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// Callback function for ImGui::SetNextWindowSizeConstraints()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L291">imgui.h:291</see>
/// <br/><c>typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback and functions types
/// </para>
/// </remarks>
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void ImGuiSizeCallback(ImGuiSizeCallbackData* data);
}