//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:1118
///
struct ImPlotSubplot {
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[StructLayout(LayoutKind.Explicit, Size = 336)]
public partial struct ImPlotSubplot
{
///
///
/// C++:
/// implot_internal.h:1119
///
ImGuiID ID
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// C++:
/// implot_internal.h:1120
///
ImPlotSubplotFlags Flags
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(4)]
public ImPlotSubplotFlags Flags;
///
///
/// C++:
/// implot_internal.h:1121
///
ImPlotSubplotFlags PreviousFlags
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(8)]
public ImPlotSubplotFlags PreviousFlags;
///
///
/// C++:
/// implot_internal.h:1122
///
ImPlotItemGroup Items
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(16)]
public ImPlotItemGroup Items;
///
///
/// C++:
/// implot_internal.h:1123
///
int Rows
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(168)]
public int Rows;
///
///
/// C++:
/// implot_internal.h:1124
///
int Cols
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(172)]
public int Cols;
///
///
/// C++:
/// implot_internal.h:1125
///
int CurrentIdx
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(176)]
public int CurrentIdx;
///
///
/// C++:
/// implot_internal.h:1126
///
ImRect FrameRect
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(180)]
public floatRect FrameRect;
///
///
/// C++:
/// implot_internal.h:1127
///
ImRect GridRect
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(196)]
public floatRect GridRect;
///
///
/// C++:
/// implot_internal.h:1128
///
ImVec2 CellSize
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(212)]
public float2 CellSize;
///
///
/// C++:
/// implot_internal.h:1129
///
ImVector<ImPlotAlignmentData> RowAlignmentData
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(224)]
public ImVector RowAlignmentData;
///
///
/// C++:
/// implot_internal.h:1130
///
ImVector<ImPlotAlignmentData> ColAlignmentData
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(240)]
public ImVector ColAlignmentData;
///
///
/// C++:
/// implot_internal.h:1131
///
ImVector<float> RowRatios
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(256)]
public ImVector RowRatios;
///
///
/// C++:
/// implot_internal.h:1132
///
ImVector<float> ColRatios
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(272)]
public ImVector ColRatios;
///
///
/// C++:
/// implot_internal.h:1133
///
ImVector<ImPlotRange> RowLinkData
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(288)]
public ImVector RowLinkData;
///
///
/// C++:
/// implot_internal.h:1134
///
ImVector<ImPlotRange> ColLinkData
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(304)]
public ImVector ColLinkData;
///
///
/// C++:
/// implot_internal.h:1135
///
float TempSizes[2]
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(320)]
public float2 TempSizes;
///
///
/// C++:
/// implot_internal.h:1136
///
bool FrameHovered
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(328)]
public Bool8 FrameHovered;
///
///
/// C++:
/// implot_internal.h:1137
///
bool HasTitle
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
[FieldOffset(329)]
public Bool8 HasTitle;
}
///
///
/// C++:
/// implot_internal.h:1118
///
struct ImPlotSubplot {
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public unsafe partial struct ImPlotSubplotPtr(ImPlotSubplot* ptr) : INullable
{
private ImPlotSubplot* _ptr = ptr;
public ImPlotSubplot* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotSubplotPtr(ImPlotSubplot* ptr) => new(ptr);
public static implicit operator ImPlotSubplot*(ImPlotSubplotPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// implot_internal.h:1119
///
ImGuiID ID
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// C++:
/// implot_internal.h:1120
///
ImPlotSubplotFlags Flags
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImPlotSubplotFlags Flags => ref Unsafe.AsRef(&_ptr->Flags);
///
///
/// C++:
/// implot_internal.h:1121
///
ImPlotSubplotFlags PreviousFlags
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImPlotSubplotFlags PreviousFlags => ref Unsafe.AsRef(&_ptr->PreviousFlags);
///
///
/// C++:
/// implot_internal.h:1122
///
ImPlotItemGroup Items
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImPlotItemGroup Items => ref Unsafe.AsRef(&_ptr->Items);
///
///
/// C++:
/// implot_internal.h:1123
///
int Rows
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref int Rows => ref Unsafe.AsRef(&_ptr->Rows);
///
///
/// C++:
/// implot_internal.h:1124
///
int Cols
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref int Cols => ref Unsafe.AsRef(&_ptr->Cols);
///
///
/// C++:
/// implot_internal.h:1125
///
int CurrentIdx
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref int CurrentIdx => ref Unsafe.AsRef(&_ptr->CurrentIdx);
///
///
/// C++:
/// implot_internal.h:1126
///
ImRect FrameRect
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref floatRect FrameRect => ref Unsafe.AsRef(&_ptr->FrameRect);
///
///
/// C++:
/// implot_internal.h:1127
///
ImRect GridRect
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref floatRect GridRect => ref Unsafe.AsRef(&_ptr->GridRect);
///
///
/// C++:
/// implot_internal.h:1128
///
ImVec2 CellSize
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref float2 CellSize => ref Unsafe.AsRef(&_ptr->CellSize);
///
///
/// C++:
/// implot_internal.h:1129
///
ImVector<ImPlotAlignmentData> RowAlignmentData
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImVector RowAlignmentData =>
ref Unsafe.AsRef>(&_ptr->RowAlignmentData);
///
///
/// C++:
/// implot_internal.h:1130
///
ImVector<ImPlotAlignmentData> ColAlignmentData
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImVector ColAlignmentData =>
ref Unsafe.AsRef>(&_ptr->ColAlignmentData);
///
///
/// C++:
/// implot_internal.h:1131
///
ImVector<float> RowRatios
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImVector RowRatios => ref Unsafe.AsRef>(&_ptr->RowRatios);
///
///
/// C++:
/// implot_internal.h:1132
///
ImVector<float> ColRatios
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImVector ColRatios => ref Unsafe.AsRef>(&_ptr->ColRatios);
///
///
/// C++:
/// implot_internal.h:1133
///
ImVector<ImPlotRange> RowLinkData
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImVector RowLinkData => ref Unsafe.AsRef>(&_ptr->RowLinkData);
///
///
/// C++:
/// implot_internal.h:1134
///
ImVector<ImPlotRange> ColLinkData
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref ImVector ColLinkData => ref Unsafe.AsRef>(&_ptr->ColLinkData);
///
///
/// C++:
/// implot_internal.h:1135
///
float TempSizes[2]
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref float2 TempSizes => ref Unsafe.AsRef(&_ptr->TempSizes);
///
///
/// C++:
/// implot_internal.h:1136
///
bool FrameHovered
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref bool FrameHovered => ref Unsafe.AsRef(&_ptr->FrameHovered);
///
///
/// C++:
/// implot_internal.h:1137
///
bool HasTitle
///
///
///
///
/// Holds subplot data that must persist after EndSubplot
///
///
public ref bool HasTitle => ref Unsafe.AsRef(&_ptr->HasTitle);
}
}