// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; namespace Brutal.ImPlotApi.Internal { /// /// /// C++: /// implot_internal.h:84 ///
struct ImPlotLegend ///
///
[StructLayout(LayoutKind.Explicit, Size = 96)] public partial struct ImPlotLegend { /// /// /// C++: /// implot_internal.h:965 ///
ImPlotLegendFlags Flags ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(0)] public ImPlotLegendFlags Flags; /// /// /// C++: /// implot_internal.h:966 ///
ImPlotLegendFlags PreviousFlags ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(4)] public ImPlotLegendFlags PreviousFlags; /// /// /// C++: /// implot_internal.h:967 ///
ImPlotLocation Location ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(8)] public ImPlotLocation Location; /// /// /// C++: /// implot_internal.h:968 ///
ImPlotLocation PreviousLocation ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(12)] public ImPlotLocation PreviousLocation; /// /// /// C++: /// implot_internal.h:969 ///
ImVec2 Scroll ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(16)] public float2 Scroll; /// /// /// C++: /// implot_internal.h:970 ///
ImVector<int> Indices ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(24)] public ImVector Indices; /// /// /// C++: /// implot_internal.h:971 ///
ImGuiTextBuffer Labels ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(40)] public ImGuiTextBuffer Labels; /// /// /// C++: /// implot_internal.h:972 ///
ImRect Rect ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(56)] public floatRect Rect; /// /// /// C++: /// implot_internal.h:973 ///
ImRect RectClamped ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(72)] public floatRect RectClamped; /// /// /// C++: /// implot_internal.h:974 ///
bool Hovered ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(88)] public Bool8 Hovered; /// /// /// C++: /// implot_internal.h:975 ///
bool Held ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(89)] public Bool8 Held; /// /// /// C++: /// implot_internal.h:976 ///
bool CanGoInside ///
///
/// /// /// Holds Legend state /// /// [FieldOffset(90)] public Bool8 CanGoInside; } /// /// /// C++: /// implot_internal.h:84 ///
struct ImPlotLegend ///
///
public unsafe partial struct ImPlotLegendPtr(ImPlotLegend* ptr) : INullable { private ImPlotLegend* _ptr = ptr; public ImPlotLegend* Ptr => _ptr; public bool IsNull() => _ptr is null; public static implicit operator ImPlotLegendPtr(ImPlotLegend* ptr) => new(ptr); public static implicit operator ImPlotLegend*(ImPlotLegendPtr wrapper) => wrapper.Ptr; /// /// /// C++: /// implot_internal.h:965 ///
ImPlotLegendFlags Flags ///
///
/// /// /// Holds Legend state /// /// public ref ImPlotLegendFlags Flags => ref Unsafe.AsRef(&_ptr->Flags); /// /// /// C++: /// implot_internal.h:966 ///
ImPlotLegendFlags PreviousFlags ///
///
/// /// /// Holds Legend state /// /// public ref ImPlotLegendFlags PreviousFlags => ref Unsafe.AsRef(&_ptr->PreviousFlags); /// /// /// C++: /// implot_internal.h:967 ///
ImPlotLocation Location ///
///
/// /// /// Holds Legend state /// /// public ref ImPlotLocation Location => ref Unsafe.AsRef(&_ptr->Location); /// /// /// C++: /// implot_internal.h:968 ///
ImPlotLocation PreviousLocation ///
///
/// /// /// Holds Legend state /// /// public ref ImPlotLocation PreviousLocation => ref Unsafe.AsRef(&_ptr->PreviousLocation); /// /// /// C++: /// implot_internal.h:969 ///
ImVec2 Scroll ///
///
/// /// /// Holds Legend state /// /// public ref float2 Scroll => ref Unsafe.AsRef(&_ptr->Scroll); /// /// /// C++: /// implot_internal.h:970 ///
ImVector<int> Indices ///
///
/// /// /// Holds Legend state /// /// public ref ImVector Indices => ref Unsafe.AsRef>(&_ptr->Indices); /// /// /// C++: /// implot_internal.h:971 ///
ImGuiTextBuffer Labels ///
///
/// /// /// Holds Legend state /// /// public ref ImGuiTextBuffer Labels => ref Unsafe.AsRef(&_ptr->Labels); /// /// /// C++: /// implot_internal.h:972 ///
ImRect Rect ///
///
/// /// /// Holds Legend state /// /// public ref floatRect Rect => ref Unsafe.AsRef(&_ptr->Rect); /// /// /// C++: /// implot_internal.h:973 ///
ImRect RectClamped ///
///
/// /// /// Holds Legend state /// /// public ref floatRect RectClamped => ref Unsafe.AsRef(&_ptr->RectClamped); /// /// /// C++: /// implot_internal.h:974 ///
bool Hovered ///
///
/// /// /// Holds Legend state /// /// public ref bool Hovered => ref Unsafe.AsRef(&_ptr->Hovered); /// /// /// C++: /// implot_internal.h:975 ///
bool Held ///
///
/// /// /// Holds Legend state /// /// public ref bool Held => ref Unsafe.AsRef(&_ptr->Held); /// /// /// C++: /// implot_internal.h:976 ///
bool CanGoInside ///
///
/// /// /// Holds Legend state /// /// public ref bool CanGoInside => ref Unsafe.AsRef(&_ptr->CanGoInside); } }