//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:990
///
struct ImPlotItemGroup
///
///
///
///
/// Holds Items and Legend data
///
///
[StructLayout(LayoutKind.Explicit, Size = 152)]
public partial struct ImPlotItemGroup
{
///
///
/// C++:
/// implot_internal.h:992
///
ImGuiID ID
///
///
///
///
/// Holds Items and Legend data
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// C++:
/// implot_internal.h:993
///
ImPlotLegend Legend
///
///
///
///
/// Holds Items and Legend data
///
///
[FieldOffset(8)]
public ImPlotLegend Legend;
///
///
/// C++:
/// implot_internal.h:994
///
ImPool<ImPlotItem> ItemPool
///
///
///
///
/// Holds Items and Legend data
///
///
[FieldOffset(104)]
public ImPool ItemPool;
///
///
/// C++:
/// implot_internal.h:995
///
int ColormapIdx
///
///
///
///
/// Holds Items and Legend data
///
///
[FieldOffset(144)]
public int ColormapIdx;
}
///
///
/// C++:
/// implot_internal.h:990
///
struct ImPlotItemGroup
///
///
///
///
/// Holds Items and Legend data
///
///
public unsafe partial struct ImPlotItemGroupPtr(ImPlotItemGroup* ptr) : INullable
{
private ImPlotItemGroup* _ptr = ptr;
public ImPlotItemGroup* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotItemGroupPtr(ImPlotItemGroup* ptr) => new(ptr);
public static implicit operator ImPlotItemGroup*(ImPlotItemGroupPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// implot_internal.h:992
///
ImGuiID ID
///
///
///
///
/// Holds Items and Legend data
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// C++:
/// implot_internal.h:993
///
ImPlotLegend Legend
///
///
///
///
/// Holds Items and Legend data
///
///
public ref ImPlotLegend Legend => ref Unsafe.AsRef(&_ptr->Legend);
///
///
/// C++:
/// implot_internal.h:994
///
ImPool<ImPlotItem> ItemPool
///
///
///
///
/// Holds Items and Legend data
///
///
public ref ImPool ItemPool => ref Unsafe.AsRef>(&_ptr->ItemPool);
///
///
/// C++:
/// implot_internal.h:995
///
int ColormapIdx
///
///
///
///
/// Holds Items and Legend data
///
///
public ref int ColormapIdx => ref Unsafe.AsRef(&_ptr->ColormapIdx);
}
}