mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
3 changed files with 784842 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
Brutal.ImGui.FreeType/Generated/PInvoke/GetFontLoader.gen.cs
Normal file
32
Brutal.ImGui.FreeType/Generated/PInvoke/GetFontLoader.gen.cs
Normal 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->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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue