//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:85
///
struct ImPlotPlot
///
///
[StructLayout(LayoutKind.Explicit, Size = 2560)]
public partial struct ImPlotPlot
{
///
///
/// C++:
/// implot_internal.h:1015
///
ImGuiID ID
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// C++:
/// implot_internal.h:1016
///
ImPlotFlags Flags
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(4)]
public ImPlotFlags Flags;
///
///
/// C++:
/// implot_internal.h:1017
///
ImPlotFlags PreviousFlags
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(8)]
public ImPlotFlags PreviousFlags;
///
///
/// C++:
/// implot_internal.h:1018
///
ImPlotLocation MouseTextLocation
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(12)]
public ImPlotLocation MouseTextLocation;
///
///
/// C++:
/// implot_internal.h:1019
///
ImPlotMouseTextFlags MouseTextFlags
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(16)]
public ImPlotMouseTextFlags MouseTextFlags;
///
///
/// C++:
/// implot_internal.h:1020
///
ImPlotAxis Axes[ImAxis_COUNT]
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(24)]
public ImPlotAxis_6 Axes;
///
///
/// C++:
/// implot_internal.h:1021
///
ImGuiTextBuffer TextBuffer
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2280)]
public ImGuiTextBuffer TextBuffer;
///
///
/// C++:
/// implot_internal.h:1022
///
ImPlotItemGroup Items
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2296)]
public ImPlotItemGroup Items;
///
///
/// C++:
/// implot_internal.h:1023
///
ImAxis CurrentX
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2448)]
public ImAxis CurrentX;
///
///
/// C++:
/// implot_internal.h:1024
///
ImAxis CurrentY
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2452)]
public ImAxis CurrentY;
///
///
/// C++:
/// implot_internal.h:1025
///
ImRect FrameRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2456)]
public floatRect FrameRect;
///
///
/// C++:
/// implot_internal.h:1026
///
ImRect CanvasRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2472)]
public floatRect CanvasRect;
///
///
/// C++:
/// implot_internal.h:1027
///
ImRect PlotRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2488)]
public floatRect PlotRect;
///
///
/// C++:
/// implot_internal.h:1028
///
ImRect AxesRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2504)]
public floatRect AxesRect;
///
///
/// C++:
/// implot_internal.h:1029
///
ImRect SelectRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2520)]
public floatRect SelectRect;
///
///
/// C++:
/// implot_internal.h:1030
///
ImVec2 SelectStart
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2536)]
public float2 SelectStart;
///
///
/// C++:
/// implot_internal.h:1031
///
int TitleOffset
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2544)]
public int TitleOffset;
///
///
/// C++:
/// implot_internal.h:1032
///
bool JustCreated
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2548)]
public Bool8 JustCreated;
///
///
/// C++:
/// implot_internal.h:1033
///
bool Initialized
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2549)]
public Bool8 Initialized;
///
///
/// C++:
/// implot_internal.h:1034
///
bool SetupLocked
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2550)]
public Bool8 SetupLocked;
///
///
/// C++:
/// implot_internal.h:1035
///
bool FitThisFrame
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2551)]
public Bool8 FitThisFrame;
///
///
/// C++:
/// implot_internal.h:1036
///
bool Hovered
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2552)]
public Bool8 Hovered;
///
///
/// C++:
/// implot_internal.h:1037
///
bool Held
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2553)]
public Bool8 Held;
///
///
/// C++:
/// implot_internal.h:1038
///
bool Selecting
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2554)]
public Bool8 Selecting;
///
///
/// C++:
/// implot_internal.h:1039
///
bool Selected
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2555)]
public Bool8 Selected;
///
///
/// C++:
/// implot_internal.h:1040
///
bool ContextLocked
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
[FieldOffset(2556)]
public Bool8 ContextLocked;
}
///
///
/// C++:
/// implot_internal.h:85
///
struct ImPlotPlot
///
///
public unsafe partial struct ImPlotPlotPtr(ImPlotPlot* ptr) : INullable
{
private ImPlotPlot* _ptr = ptr;
public ImPlotPlot* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotPlotPtr(ImPlotPlot* ptr) => new(ptr);
public static implicit operator ImPlotPlot*(ImPlotPlotPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// implot_internal.h:1015
///
ImGuiID ID
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// C++:
/// implot_internal.h:1016
///
ImPlotFlags Flags
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImPlotFlags Flags => ref Unsafe.AsRef(&_ptr->Flags);
///
///
/// C++:
/// implot_internal.h:1017
///
ImPlotFlags PreviousFlags
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImPlotFlags PreviousFlags => ref Unsafe.AsRef(&_ptr->PreviousFlags);
///
///
/// C++:
/// implot_internal.h:1018
///
ImPlotLocation MouseTextLocation
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImPlotLocation MouseTextLocation => ref Unsafe.AsRef(&_ptr->MouseTextLocation);
///
///
/// C++:
/// implot_internal.h:1019
///
ImPlotMouseTextFlags MouseTextFlags
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImPlotMouseTextFlags MouseTextFlags => ref Unsafe.AsRef(&_ptr->MouseTextFlags);
///
///
/// C++:
/// implot_internal.h:1020
///
ImPlotAxis Axes[ImAxis_COUNT]
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImPlotAxis_6 Axes => ref Unsafe.AsRef(&_ptr->Axes);
///
///
/// C++:
/// implot_internal.h:1021
///
ImGuiTextBuffer TextBuffer
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&_ptr->TextBuffer);
///
///
/// C++:
/// implot_internal.h:1022
///
ImPlotItemGroup Items
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImPlotItemGroup Items => ref Unsafe.AsRef(&_ptr->Items);
///
///
/// C++:
/// implot_internal.h:1023
///
ImAxis CurrentX
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImAxis CurrentX => ref Unsafe.AsRef(&_ptr->CurrentX);
///
///
/// C++:
/// implot_internal.h:1024
///
ImAxis CurrentY
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref ImAxis CurrentY => ref Unsafe.AsRef(&_ptr->CurrentY);
///
///
/// C++:
/// implot_internal.h:1025
///
ImRect FrameRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref floatRect FrameRect => ref Unsafe.AsRef(&_ptr->FrameRect);
///
///
/// C++:
/// implot_internal.h:1026
///
ImRect CanvasRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref floatRect CanvasRect => ref Unsafe.AsRef(&_ptr->CanvasRect);
///
///
/// C++:
/// implot_internal.h:1027
///
ImRect PlotRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref floatRect PlotRect => ref Unsafe.AsRef(&_ptr->PlotRect);
///
///
/// C++:
/// implot_internal.h:1028
///
ImRect AxesRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref floatRect AxesRect => ref Unsafe.AsRef(&_ptr->AxesRect);
///
///
/// C++:
/// implot_internal.h:1029
///
ImRect SelectRect
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref floatRect SelectRect => ref Unsafe.AsRef(&_ptr->SelectRect);
///
///
/// C++:
/// implot_internal.h:1030
///
ImVec2 SelectStart
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref float2 SelectStart => ref Unsafe.AsRef(&_ptr->SelectStart);
///
///
/// C++:
/// implot_internal.h:1031
///
int TitleOffset
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref int TitleOffset => ref Unsafe.AsRef(&_ptr->TitleOffset);
///
///
/// C++:
/// implot_internal.h:1032
///
bool JustCreated
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref bool JustCreated => ref Unsafe.AsRef(&_ptr->JustCreated);
///
///
/// C++:
/// implot_internal.h:1033
///
bool Initialized
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref bool Initialized => ref Unsafe.AsRef(&_ptr->Initialized);
///
///
/// C++:
/// implot_internal.h:1034
///
bool SetupLocked
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref bool SetupLocked => ref Unsafe.AsRef(&_ptr->SetupLocked);
///
///
/// C++:
/// implot_internal.h:1035
///
bool FitThisFrame
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref bool FitThisFrame => ref Unsafe.AsRef(&_ptr->FitThisFrame);
///
///
/// C++:
/// implot_internal.h:1036
///
bool Hovered
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref bool Hovered => ref Unsafe.AsRef(&_ptr->Hovered);
///
///
/// C++:
/// implot_internal.h:1037
///
bool Held
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref bool Held => ref Unsafe.AsRef(&_ptr->Held);
///
///
/// C++:
/// implot_internal.h:1038
///
bool Selecting
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref bool Selecting => ref Unsafe.AsRef(&_ptr->Selecting);
///
///
/// C++:
/// implot_internal.h:1039
///
bool Selected
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref bool Selected => ref Unsafe.AsRef(&_ptr->Selected);
///
///
/// C++:
/// implot_internal.h:1040
///
bool ContextLocked
///
///
///
///
/// Holds Plot state information that must persist after EndPlot
///
///
public ref bool ContextLocked => ref Unsafe.AsRef(&_ptr->ContextLocked);
}
}