mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,91 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Helper to build glyph ranges from text/string data
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L188">imgui.h:188</see>
|
||||
/// <br/><c>struct ImFontGlyphRangesBuilder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImDrawList, ImFontAtlas layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct ImFontGlyphRangesBuilder
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Store 1-bit per Unicode code point (0=unused, 1=used)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3665">imgui.h:3665</see>
|
||||
/// <br/><c>ImVector<ImU32> UsedChars</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Helper to build glyph ranges from text/string data. Feed your application strings/characters to it then call BuildRanges().
|
||||
/// This is essentially a tightly packed of vector of 64k booleans = 8KB storage.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImVector<uint> UsedChars;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Helper to build glyph ranges from text/string data
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L188">imgui.h:188</see>
|
||||
/// <br/><c>struct ImFontGlyphRangesBuilder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImDrawList, ImFontAtlas layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* ptr) : INullable
|
||||
{
|
||||
private ImFontGlyphRangesBuilder* _ptr = ptr;
|
||||
public ImFontGlyphRangesBuilder* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImFontGlyphRangesBuilder*(ImFontGlyphRangesBuilderPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Store 1-bit per Unicode code point (0=unused, 1=used)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3665">imgui.h:3665</see>
|
||||
/// <br/><c>ImVector<ImU32> UsedChars</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Helper to build glyph ranges from text/string data. Feed your application strings/characters to it then call BuildRanges().
|
||||
/// This is essentially a tightly packed of vector of 64k booleans = 8KB storage.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ImVector<uint> UsedChars => ref Unsafe.AsRef<ImVector<uint>>(&_ptr->UsedChars);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue