// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; namespace Brutal.ImGuiApi.Internal { /// /// /// Stacked style modifier, backup of modified data so we can restore it /// /// /// C++: /// imgui_internal.h:176 ///
struct ImGuiStyleMod ///
///
/// /// /// ImGui /// /// [StructLayout(LayoutKind.Explicit, Size = 12)] public partial struct ImGuiStyleMod { /// /// /// C++: /// imgui_internal.h:912 ///
ImGuiStyleVar VarIdx ///
///
/// /// /// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the /// variable. /// /// [FieldOffset(0)] public ImGuiStyleVar VarIdx; /// /// /// C++: /// imgui_internal.h:913 ///
int BackupInt[2] ///
///
/// /// /// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the /// variable. /// /// [FieldOffset(4)] public int2 BackupInt; /// /// /// C++: /// imgui_internal.h:913 ///
float BackupFloat[2] ///
///
/// /// /// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the /// variable. /// /// [FieldOffset(4)] public float2 BackupFloat; } /// /// /// Stacked style modifier, backup of modified data so we can restore it /// /// /// C++: /// imgui_internal.h:176 ///
struct ImGuiStyleMod ///
///
/// /// /// ImGui /// /// public unsafe partial struct ImGuiStyleModPtr(ImGuiStyleMod* ptr) : INullable { private ImGuiStyleMod* _ptr = ptr; public ImGuiStyleMod* Ptr => _ptr; public bool IsNull() => _ptr is null; public static implicit operator ImGuiStyleModPtr(ImGuiStyleMod* ptr) => new(ptr); public static implicit operator ImGuiStyleMod*(ImGuiStyleModPtr wrapper) => wrapper.Ptr; /// /// /// C++: /// imgui_internal.h:912 ///
ImGuiStyleVar VarIdx ///
///
/// /// /// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the /// variable. /// /// public ref ImGuiStyleVar VarIdx => ref Unsafe.AsRef(&_ptr->VarIdx); /// /// /// C++: /// imgui_internal.h:913 ///
int BackupInt[2] ///
///
/// /// /// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the /// variable. /// /// public ref int2 BackupInt => ref Unsafe.AsRef(&_ptr->BackupInt); /// /// /// C++: /// imgui_internal.h:913 ///
float BackupFloat[2] ///
///
/// /// /// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the /// variable. /// /// public ref float2 BackupFloat => ref Unsafe.AsRef(&_ptr->BackupFloat); } }