// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; namespace Brutal.ImGuiApi.Internal { /// /// /// C++: /// imgui_internal.h:1571 ///
struct ImGuiKeyRoutingTable ///
///
/// /// /// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. /// Stored in main context (1 instance) /// /// [StructLayout(LayoutKind.Explicit, Size = 344)] public partial struct ImGuiKeyRoutingTable { /// /// /// Index of first entry in Entries[] /// /// /// C++: /// imgui_internal.h:1573 ///
ImGuiKeyRoutingIndex Index[ImGuiKey_NamedKey_COUNT] ///
///
/// /// /// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. /// Stored in main context (1 instance) /// /// [FieldOffset(0)] public short_155 Index; /// /// /// C++: /// imgui_internal.h:1574 ///
ImVector<ImGuiKeyRoutingData> Entries ///
///
/// /// /// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. /// Stored in main context (1 instance) /// /// [FieldOffset(312)] public ImVector Entries; /// /// /// Double-buffer to avoid reallocation (could use a shared buffer) /// /// /// C++: /// imgui_internal.h:1575 ///
ImVector<ImGuiKeyRoutingData> EntriesNext ///
///
/// /// /// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. /// Stored in main context (1 instance) /// /// [FieldOffset(328)] public ImVector EntriesNext; } /// /// /// C++: /// imgui_internal.h:1571 ///
struct ImGuiKeyRoutingTable ///
///
/// /// /// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. /// Stored in main context (1 instance) /// /// public unsafe partial struct ImGuiKeyRoutingTablePtr(ImGuiKeyRoutingTable* ptr) : INullable { private ImGuiKeyRoutingTable* _ptr = ptr; public ImGuiKeyRoutingTable* Ptr => _ptr; public bool IsNull() => _ptr is null; public static implicit operator ImGuiKeyRoutingTablePtr(ImGuiKeyRoutingTable* ptr) => new(ptr); public static implicit operator ImGuiKeyRoutingTable*(ImGuiKeyRoutingTablePtr wrapper) => wrapper.Ptr; /// /// /// Index of first entry in Entries[] /// /// /// C++: /// imgui_internal.h:1573 ///
ImGuiKeyRoutingIndex Index[ImGuiKey_NamedKey_COUNT] ///
///
/// /// /// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. /// Stored in main context (1 instance) /// /// public ref short_155 Index => ref Unsafe.AsRef(&_ptr->Index); /// /// /// C++: /// imgui_internal.h:1574 ///
ImVector<ImGuiKeyRoutingData> Entries ///
///
/// /// /// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. /// Stored in main context (1 instance) /// /// public ref ImVector Entries => ref Unsafe.AsRef>(&_ptr->Entries); /// /// /// Double-buffer to avoid reallocation (could use a shared buffer) /// /// /// C++: /// imgui_internal.h:1575 ///
ImVector<ImGuiKeyRoutingData> EntriesNext ///
///
/// /// /// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. /// Stored in main context (1 instance) /// /// public ref ImVector EntriesNext => ref Unsafe.AsRef>(&_ptr->EntriesNext); } }