//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:83
///
struct ImPlotItem
///
///
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct ImPlotItem
{
///
///
/// C++:
/// implot_internal.h:942
///
ImGuiID ID
///
///
///
///
/// State information for Plot items
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// C++:
/// implot_internal.h:943
///
ImU32 Color
///
///
///
///
/// State information for Plot items
///
///
[FieldOffset(4)]
public uint Color;
///
///
/// C++:
/// implot_internal.h:944
///
ImRect LegendHoverRect
///
///
///
///
/// State information for Plot items
///
///
[FieldOffset(8)]
public floatRect LegendHoverRect;
///
///
/// C++:
/// implot_internal.h:945
///
int NameOffset
///
///
///
///
/// State information for Plot items
///
///
[FieldOffset(24)]
public int NameOffset;
///
///
/// C++:
/// implot_internal.h:946
///
bool Show
///
///
///
///
/// State information for Plot items
///
///
[FieldOffset(28)]
public Bool8 Show;
///
///
/// C++:
/// implot_internal.h:947
///
bool LegendHovered
///
///
///
///
/// State information for Plot items
///
///
[FieldOffset(29)]
public Bool8 LegendHovered;
///
///
/// C++:
/// implot_internal.h:948
///
bool SeenThisFrame
///
///
///
///
/// State information for Plot items
///
///
[FieldOffset(30)]
public Bool8 SeenThisFrame;
}
///
///
/// C++:
/// implot_internal.h:83
///
struct ImPlotItem
///
///
public unsafe partial struct ImPlotItemPtr(ImPlotItem* ptr) : INullable
{
private ImPlotItem* _ptr = ptr;
public ImPlotItem* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotItemPtr(ImPlotItem* ptr) => new(ptr);
public static implicit operator ImPlotItem*(ImPlotItemPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// implot_internal.h:942
///
ImGuiID ID
///
///
///
///
/// State information for Plot items
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// C++:
/// implot_internal.h:943
///
ImU32 Color
///
///
///
///
/// State information for Plot items
///
///
public ref uint Color => ref Unsafe.AsRef(&_ptr->Color);
///
///
/// C++:
/// implot_internal.h:944
///
ImRect LegendHoverRect
///
///
///
///
/// State information for Plot items
///
///
public ref floatRect LegendHoverRect => ref Unsafe.AsRef(&_ptr->LegendHoverRect);
///
///
/// C++:
/// implot_internal.h:945
///
int NameOffset
///
///
///
///
/// State information for Plot items
///
///
public ref int NameOffset => ref Unsafe.AsRef(&_ptr->NameOffset);
///
///
/// C++:
/// implot_internal.h:946
///
bool Show
///
///
///
///
/// State information for Plot items
///
///
public ref bool Show => ref Unsafe.AsRef(&_ptr->Show);
///
///
/// C++:
/// implot_internal.h:947
///
bool LegendHovered
///
///
///
///
/// State information for Plot items
///
///
public ref bool LegendHovered => ref Unsafe.AsRef(&_ptr->LegendHovered);
///
///
/// C++:
/// implot_internal.h:948
///
bool SeenThisFrame
///
///
///
///
/// State information for Plot items
///
///
public ref bool SeenThisFrame => ref Unsafe.AsRef(&_ptr->SeenThisFrame);
}
}