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

View file

@ -0,0 +1,28 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.FreeType
{
public partial class ImGuiFreeType
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L74">imgui_freetype.h:74</see>
/// <br/><c>bool DebugEditFontLoaderFlags(ImGuiFreeTypeLoaderFlags* p_font_loader_flags)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Display UI to edit ImFontAtlas::FontLoaderFlags (shared) or ImFontConfig::FontLoaderFlags (single
/// source)
/// </para>
/// </remarks>
[LibraryImport("imgui_freetype")]
public static unsafe partial Bool8 DebugEditFontLoaderFlags(ImGuiFreeTypeLoaderFlags* p_font_loader_flags);
}
}
}

View file

@ -0,0 +1,32 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.FreeType
{
public partial class ImGuiFreeType
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L67">imgui_freetype.h:67</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L21595">imgui.cpp:21595</see>
/// <br/><c>const ImFontLoader* GetFontLoader()</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// This is automatically assigned when using '#define IMGUI_ENABLE_FREETYPE'.
/// If you need to dynamically select between multiple builders:
/// - you can manually assign this builder with 'atlas-&gt;SetFontLoader(ImGuiFreeType::GetFontLoader())'
/// - prefer deep-copying this into your own ImFontLoader instance if you use hot-reloading that messes up static data.
/// </code>
/// </remarks>
[LibraryImport("imgui_freetype")]
public static unsafe partial ImFontLoader* GetFontLoader();
}
}
}

View file

@ -0,0 +1,29 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.FreeType
{
public partial class ImGuiFreeType
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_freetype.h#L71">imgui_freetype.h:71</see>
/// <br/>
/// <c>void SetAllocatorFunctions(void* (*alloc_func)(size_t sz, void* user_data), void (*free_func)(void* ptr, void* user_data), void* user_data = nullptr)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Override allocators. By default ImGuiFreeType will use IM_ALLOC()/IM_FREE()
/// However, as FreeType does lots of allocations we provide a way for the user to redirect it to a separate memory heap if desired.
/// </code>
/// </remarks>
[LibraryImport("imgui_freetype")]
public static unsafe partial void SetAllocatorFunctions(nint alloc_func, nint free_func, void* user_data);
}
}
}