//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi
{
///
///
/// Helper to build glyph ranges from text/string data
///
///
/// C++:
/// imgui.h:188
///
struct ImFontGlyphRangesBuilder
///
///
///
///
/// Forward declarations: ImDrawList, ImFontAtlas layer
///
///
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct ImFontGlyphRangesBuilder
{
///
///
/// Store 1-bit per Unicode code point (0=unused, 1=used)
///
///
/// C++:
/// imgui.h:3665
///
ImVector<ImU32> UsedChars
///
///
///
///
/// 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.
///
///
[FieldOffset(0)]
public ImVector UsedChars;
}
///
///
/// Helper to build glyph ranges from text/string data
///
///
/// C++:
/// imgui.h:188
///
struct ImFontGlyphRangesBuilder
///
///
///
///
/// Forward declarations: ImDrawList, ImFontAtlas layer
///
///
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;
///
///
/// Store 1-bit per Unicode code point (0=unused, 1=used)
///
///
/// C++:
/// imgui.h:3665
///
ImVector<ImU32> UsedChars
///
///
///
///
/// 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.
///
///
public ref ImVector UsedChars => ref Unsafe.AsRef>(&_ptr->UsedChars);
}
}