SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d

View file

@ -0,0 +1,36 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L398">imgui.h:398</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L4013">imgui.cpp:4013</see>
/// <br/><c>ImGuiContext* GetCurrentContext()</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Context creation and access
/// - Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between contexts.
/// - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()
/// for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for details.
/// </code>
/// <code>
/// Internal state access - if you want to share Dear ImGui state between modules (e.g. DLL) or allocate it yourself
/// Note that we still point to some static data and members (such as GFontAtlas), so the state instance you end up using will point to the static data within its module
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial ImGuiContext* GetCurrentContext();
}
}
}