// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; namespace Brutal.ImGuiApi.Internal { /// /// /// C++: /// imgui_internal.h:1557 ///
struct ImGuiKeyRoutingData ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// [StructLayout(LayoutKind.Explicit, Size = 16)] public partial struct ImGuiKeyRoutingData { /// /// /// C++: /// imgui_internal.h:1559 ///
ImGuiKeyRoutingIndex NextEntryIndex ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// [FieldOffset(0)] public short NextEntryIndex; /// /// /// Technically we'd only need 4-bits but for simplify we store ImGuiMod_ values which need 16-bits. /// /// /// C++: /// imgui_internal.h:1560 ///
ImU16 Mods ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// [FieldOffset(2)] public ushort Mods; /// /// /// [DEBUG] For debug display /// /// /// C++: /// imgui_internal.h:1561 ///
ImU8 RoutingCurrScore ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// [FieldOffset(4)] public byte RoutingCurrScore; /// /// /// Lower is better (0: perfect score) /// /// /// C++: /// imgui_internal.h:1562 ///
ImU8 RoutingNextScore ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// [FieldOffset(5)] public byte RoutingNextScore; /// /// /// C++: /// imgui_internal.h:1563 ///
ImGuiID RoutingCurr ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// [FieldOffset(8)] public ImGuiID RoutingCurr; /// /// /// C++: /// imgui_internal.h:1564 ///
ImGuiID RoutingNext ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// [FieldOffset(12)] public ImGuiID RoutingNext; } /// /// /// C++: /// imgui_internal.h:1557 ///
struct ImGuiKeyRoutingData ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// public unsafe partial struct ImGuiKeyRoutingDataPtr(ImGuiKeyRoutingData* ptr) : INullable { private ImGuiKeyRoutingData* _ptr = ptr; public ImGuiKeyRoutingData* Ptr => _ptr; public bool IsNull() => _ptr is null; public static implicit operator ImGuiKeyRoutingDataPtr(ImGuiKeyRoutingData* ptr) => new(ptr); public static implicit operator ImGuiKeyRoutingData*(ImGuiKeyRoutingDataPtr wrapper) => wrapper.Ptr; /// /// /// C++: /// imgui_internal.h:1559 ///
ImGuiKeyRoutingIndex NextEntryIndex ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// public ref short NextEntryIndex => ref Unsafe.AsRef(&_ptr->NextEntryIndex); /// /// /// Technically we'd only need 4-bits but for simplify we store ImGuiMod_ values which need 16-bits. /// /// /// C++: /// imgui_internal.h:1560 ///
ImU16 Mods ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// public ref ushort Mods => ref Unsafe.AsRef(&_ptr->Mods); /// /// /// [DEBUG] For debug display /// /// /// C++: /// imgui_internal.h:1561 ///
ImU8 RoutingCurrScore ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// public ref byte RoutingCurrScore => ref Unsafe.AsRef(&_ptr->RoutingCurrScore); /// /// /// Lower is better (0: perfect score) /// /// /// C++: /// imgui_internal.h:1562 ///
ImU8 RoutingNextScore ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// public ref byte RoutingNextScore => ref Unsafe.AsRef(&_ptr->RoutingNextScore); /// /// /// C++: /// imgui_internal.h:1563 ///
ImGuiID RoutingCurr ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// public ref ImGuiID RoutingCurr => ref Unsafe.AsRef(&_ptr->RoutingCurr); /// /// /// C++: /// imgui_internal.h:1564 ///
ImGuiID RoutingNext ///
///
/// /// /// Routing table entry (sizeof() == 16 bytes) /// /// public ref ImGuiID RoutingNext => ref Unsafe.AsRef(&_ptr->RoutingNext); } }