//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:81
///
struct ImPlotAxis
///
///
[StructLayout(LayoutKind.Explicit, Size = 376)]
public unsafe partial struct ImPlotAxis
{
///
///
/// C++:
/// implot_internal.h:626
///
ImGuiID ID
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// C++:
/// implot_internal.h:627
///
ImPlotAxisFlags Flags
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(4)]
public ImPlotAxisFlags Flags;
///
///
/// C++:
/// implot_internal.h:628
///
ImPlotAxisFlags PreviousFlags
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(8)]
public ImPlotAxisFlags PreviousFlags;
///
///
/// C++:
/// implot_internal.h:629
///
ImPlotRange Range
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(16)]
public ImPlotRange Range;
///
///
/// C++:
/// implot_internal.h:630
///
ImPlotCond RangeCond
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(32)]
public ImPlotCond RangeCond;
///
///
/// C++:
/// implot_internal.h:631
///
ImPlotScale Scale
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(36)]
public ImPlotScale Scale;
///
///
/// C++:
/// implot_internal.h:632
///
ImPlotRange FitExtents
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(40)]
public ImPlotRange FitExtents;
///
///
/// C++:
/// implot_internal.h:633
///
ImPlotAxis* OrthoAxis
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(56)]
public ImPlotAxisPtr OrthoAxis;
///
///
/// C++:
/// implot_internal.h:634
///
ImPlotRange ConstraintRange
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(64)]
public ImPlotRange ConstraintRange;
///
///
/// C++:
/// implot_internal.h:635
///
ImPlotRange ConstraintZoom
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
[FieldOffset(80)]
public ImPlotRange ConstraintZoom;
///
///
/// C++:
/// implot_internal.h:637
///
ImPlotTicker Ticker
///
///
[FieldOffset(96)]
public ImPlotTicker Ticker;
///
///
/// C++:
/// implot_internal.h:638
///
ImPlotFormatter Formatter
///
///
[FieldOffset(152)]
public nint Formatter;
///
///
/// C++:
/// implot_internal.h:639
///
void* FormatterData
///
///
[FieldOffset(160)]
public nint FormatterData;
[FieldOffset(168)]
public fixed byte FormatSpec[16];
///
///
/// C++:
/// implot_internal.h:641
///
ImPlotLocator Locator
///
///
[FieldOffset(184)]
public nint Locator;
///
///
/// C++:
/// implot_internal.h:643
///
double* LinkedMin
///
///
[FieldOffset(192)]
public Ptr LinkedMin;
///
///
/// C++:
/// implot_internal.h:644
///
double* LinkedMax
///
///
[FieldOffset(200)]
public Ptr LinkedMax;
///
///
/// C++:
/// implot_internal.h:646
///
int PickerLevel
///
///
[FieldOffset(208)]
public int PickerLevel;
///
///
/// C++:
/// implot_internal.h:647
///
ImPlotTime PickerTimeMin
///
///
[FieldOffset(216)]
public ImPlotTime PickerTimeMin;
///
///
/// C++:
/// implot_internal.h:647
///
ImPlotTime PickerTimeMin, PickerTimeMax
///
///
[FieldOffset(232)]
public ImPlotTime PickerTimeMax;
///
///
/// C++:
/// implot_internal.h:649
///
ImPlotTransform TransformForward
///
///
[FieldOffset(248)]
public nint TransformForward;
///
///
/// C++:
/// implot_internal.h:650
///
ImPlotTransform TransformInverse
///
///
[FieldOffset(256)]
public nint TransformInverse;
///
///
/// C++:
/// implot_internal.h:651
///
void* TransformData
///
///
[FieldOffset(264)]
public nint TransformData;
///
///
/// C++:
/// implot_internal.h:652
///
float PixelMin
///
///
[FieldOffset(272)]
public float PixelMin;
///
///
/// C++:
/// implot_internal.h:652
///
float PixelMin, PixelMax
///
///
[FieldOffset(276)]
public float PixelMax;
///
///
/// C++:
/// implot_internal.h:653
///
double ScaleMin
///
///
[FieldOffset(280)]
public double ScaleMin;
///
///
/// C++:
/// implot_internal.h:653
///
double ScaleMin, ScaleMax
///
///
[FieldOffset(288)]
public double ScaleMax;
///
///
/// C++:
/// implot_internal.h:654
///
double ScaleToPixel
///
///
[FieldOffset(296)]
public double ScaleToPixel;
///
///
/// C++:
/// implot_internal.h:655
///
float Datum1
///
///
[FieldOffset(304)]
public float Datum1;
///
///
/// C++:
/// implot_internal.h:655
///
float Datum1, Datum2
///
///
[FieldOffset(308)]
public float Datum2;
///
///
/// C++:
/// implot_internal.h:657
///
ImRect HoverRect
///
///
[FieldOffset(312)]
public floatRect HoverRect;
///
///
/// C++:
/// implot_internal.h:658
///
int LabelOffset
///
///
[FieldOffset(328)]
public int LabelOffset;
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj
///
///
[FieldOffset(332)]
public uint ColorMaj;
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin
///
///
[FieldOffset(336)]
public uint ColorMin;
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick
///
///
[FieldOffset(340)]
public uint ColorTick;
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt
///
///
[FieldOffset(344)]
public uint ColorTxt;
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt, ColorBg
///
///
[FieldOffset(348)]
public uint ColorBg;
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt, ColorBg, ColorHov
///
///
[FieldOffset(352)]
public uint ColorHov;
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt, ColorBg, ColorHov, ColorAct
///
///
[FieldOffset(356)]
public uint ColorAct;
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt, ColorBg, ColorHov, ColorAct, ColorHiLi
///
///
[FieldOffset(360)]
public uint ColorHiLi;
///
///
/// C++:
/// implot_internal.h:661
///
bool Enabled
///
///
[FieldOffset(364)]
public Bool8 Enabled;
///
///
/// C++:
/// implot_internal.h:662
///
bool Vertical
///
///
[FieldOffset(365)]
public Bool8 Vertical;
///
///
/// C++:
/// implot_internal.h:663
///
bool FitThisFrame
///
///
[FieldOffset(366)]
public Bool8 FitThisFrame;
///
///
/// C++:
/// implot_internal.h:664
///
bool HasRange
///
///
[FieldOffset(367)]
public Bool8 HasRange;
///
///
/// C++:
/// implot_internal.h:665
///
bool HasFormatSpec
///
///
[FieldOffset(368)]
public Bool8 HasFormatSpec;
///
///
/// C++:
/// implot_internal.h:666
///
bool ShowDefaultTicks
///
///
[FieldOffset(369)]
public Bool8 ShowDefaultTicks;
///
///
/// C++:
/// implot_internal.h:667
///
bool Hovered
///
///
[FieldOffset(370)]
public Bool8 Hovered;
///
///
/// C++:
/// implot_internal.h:668
///
bool Held
///
///
[FieldOffset(371)]
public Bool8 Held;
}
///
///
/// C++:
/// implot_internal.h:81
///
struct ImPlotAxis
///
///
public unsafe partial struct ImPlotAxisPtr(ImPlotAxis* ptr) : INullable
{
private ImPlotAxis* _ptr = ptr;
public ImPlotAxis* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotAxisPtr(ImPlotAxis* ptr) => new(ptr);
public static implicit operator ImPlotAxis*(ImPlotAxisPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// implot_internal.h:626
///
ImGuiID ID
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// C++:
/// implot_internal.h:627
///
ImPlotAxisFlags Flags
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImPlotAxisFlags Flags => ref Unsafe.AsRef(&_ptr->Flags);
///
///
/// C++:
/// implot_internal.h:628
///
ImPlotAxisFlags PreviousFlags
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImPlotAxisFlags PreviousFlags => ref Unsafe.AsRef(&_ptr->PreviousFlags);
///
///
/// C++:
/// implot_internal.h:629
///
ImPlotRange Range
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImPlotRange Range => ref Unsafe.AsRef(&_ptr->Range);
///
///
/// C++:
/// implot_internal.h:630
///
ImPlotCond RangeCond
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImPlotCond RangeCond => ref Unsafe.AsRef(&_ptr->RangeCond);
///
///
/// C++:
/// implot_internal.h:631
///
ImPlotScale Scale
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImPlotScale Scale => ref Unsafe.AsRef(&_ptr->Scale);
///
///
/// C++:
/// implot_internal.h:632
///
ImPlotRange FitExtents
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImPlotRange FitExtents => ref Unsafe.AsRef(&_ptr->FitExtents);
///
///
/// C++:
/// implot_internal.h:633
///
ImPlotAxis* OrthoAxis
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImPlotAxisPtr OrthoAxis => ref Unsafe.AsRef(&_ptr->OrthoAxis);
///
///
/// C++:
/// implot_internal.h:634
///
ImPlotRange ConstraintRange
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImPlotRange ConstraintRange => ref Unsafe.AsRef(&_ptr->ConstraintRange);
///
///
/// C++:
/// implot_internal.h:635
///
ImPlotRange ConstraintZoom
///
///
///
///
/// Axis state information that must persist after EndPlot
///
///
public ref ImPlotRange ConstraintZoom => ref Unsafe.AsRef(&_ptr->ConstraintZoom);
///
///
/// C++:
/// implot_internal.h:637
///
ImPlotTicker Ticker
///
///
public ref ImPlotTicker Ticker => ref Unsafe.AsRef(&_ptr->Ticker);
///
///
/// C++:
/// implot_internal.h:638
///
ImPlotFormatter Formatter
///
///
public ref nint Formatter => ref Unsafe.AsRef(&_ptr->Formatter);
///
///
/// C++:
/// implot_internal.h:639
///
void* FormatterData
///
///
public ref nint FormatterData => ref Unsafe.AsRef(&_ptr->FormatterData);
public Span FormatSpec => MemoryMarshal.CreateSpan(ref _ptr->FormatSpec[0], 16);
///
///
/// C++:
/// implot_internal.h:641
///
ImPlotLocator Locator
///
///
public ref nint Locator => ref Unsafe.AsRef(&_ptr->Locator);
///
///
/// C++:
/// implot_internal.h:643
///
double* LinkedMin
///
///
public ref Ptr LinkedMin => ref Unsafe.AsRef>(&_ptr->LinkedMin);
///
///
/// C++:
/// implot_internal.h:644
///
double* LinkedMax
///
///
public ref Ptr LinkedMax => ref Unsafe.AsRef>(&_ptr->LinkedMax);
///
///
/// C++:
/// implot_internal.h:646
///
int PickerLevel
///
///
public ref int PickerLevel => ref Unsafe.AsRef(&_ptr->PickerLevel);
///
///
/// C++:
/// implot_internal.h:647
///
ImPlotTime PickerTimeMin
///
///
public ref ImPlotTime PickerTimeMin => ref Unsafe.AsRef(&_ptr->PickerTimeMin);
///
///
/// C++:
/// implot_internal.h:647
///
ImPlotTime PickerTimeMin, PickerTimeMax
///
///
public ref ImPlotTime PickerTimeMax => ref Unsafe.AsRef(&_ptr->PickerTimeMax);
///
///
/// C++:
/// implot_internal.h:649
///
ImPlotTransform TransformForward
///
///
public ref nint TransformForward => ref Unsafe.AsRef(&_ptr->TransformForward);
///
///
/// C++:
/// implot_internal.h:650
///
ImPlotTransform TransformInverse
///
///
public ref nint TransformInverse => ref Unsafe.AsRef(&_ptr->TransformInverse);
///
///
/// C++:
/// implot_internal.h:651
///
void* TransformData
///
///
public ref nint TransformData => ref Unsafe.AsRef(&_ptr->TransformData);
///
///
/// C++:
/// implot_internal.h:652
///
float PixelMin
///
///
public ref float PixelMin => ref Unsafe.AsRef(&_ptr->PixelMin);
///
///
/// C++:
/// implot_internal.h:652
///
float PixelMin, PixelMax
///
///
public ref float PixelMax => ref Unsafe.AsRef(&_ptr->PixelMax);
///
///
/// C++:
/// implot_internal.h:653
///
double ScaleMin
///
///
public ref double ScaleMin => ref Unsafe.AsRef(&_ptr->ScaleMin);
///
///
/// C++:
/// implot_internal.h:653
///
double ScaleMin, ScaleMax
///
///
public ref double ScaleMax => ref Unsafe.AsRef(&_ptr->ScaleMax);
///
///
/// C++:
/// implot_internal.h:654
///
double ScaleToPixel
///
///
public ref double ScaleToPixel => ref Unsafe.AsRef(&_ptr->ScaleToPixel);
///
///
/// C++:
/// implot_internal.h:655
///
float Datum1
///
///
public ref float Datum1 => ref Unsafe.AsRef(&_ptr->Datum1);
///
///
/// C++:
/// implot_internal.h:655
///
float Datum1, Datum2
///
///
public ref float Datum2 => ref Unsafe.AsRef(&_ptr->Datum2);
///
///
/// C++:
/// implot_internal.h:657
///
ImRect HoverRect
///
///
public ref floatRect HoverRect => ref Unsafe.AsRef(&_ptr->HoverRect);
///
///
/// C++:
/// implot_internal.h:658
///
int LabelOffset
///
///
public ref int LabelOffset => ref Unsafe.AsRef(&_ptr->LabelOffset);
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj
///
///
public ref uint ColorMaj => ref Unsafe.AsRef(&_ptr->ColorMaj);
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin
///
///
public ref uint ColorMin => ref Unsafe.AsRef(&_ptr->ColorMin);
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick
///
///
public ref uint ColorTick => ref Unsafe.AsRef(&_ptr->ColorTick);
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt
///
///
public ref uint ColorTxt => ref Unsafe.AsRef(&_ptr->ColorTxt);
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt, ColorBg
///
///
public ref uint ColorBg => ref Unsafe.AsRef(&_ptr->ColorBg);
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt, ColorBg, ColorHov
///
///
public ref uint ColorHov => ref Unsafe.AsRef(&_ptr->ColorHov);
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt, ColorBg, ColorHov, ColorAct
///
///
public ref uint ColorAct => ref Unsafe.AsRef(&_ptr->ColorAct);
///
///
/// C++:
/// implot_internal.h:659
///
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt, ColorBg, ColorHov, ColorAct, ColorHiLi
///
///
public ref uint ColorHiLi => ref Unsafe.AsRef(&_ptr->ColorHiLi);
///
///
/// C++:
/// implot_internal.h:661
///
bool Enabled
///
///
public ref bool Enabled => ref Unsafe.AsRef(&_ptr->Enabled);
///
///
/// C++:
/// implot_internal.h:662
///
bool Vertical
///
///
public ref bool Vertical => ref Unsafe.AsRef(&_ptr->Vertical);
///
///
/// C++:
/// implot_internal.h:663
///
bool FitThisFrame
///
///
public ref bool FitThisFrame => ref Unsafe.AsRef(&_ptr->FitThisFrame);
///
///
/// C++:
/// implot_internal.h:664
///
bool HasRange
///
///
public ref bool HasRange => ref Unsafe.AsRef(&_ptr->HasRange);
///
///
/// C++:
/// implot_internal.h:665
///
bool HasFormatSpec
///
///
public ref bool HasFormatSpec => ref Unsafe.AsRef(&_ptr->HasFormatSpec);
///
///
/// C++:
/// implot_internal.h:666
///
bool ShowDefaultTicks
///
///
public ref bool ShowDefaultTicks => ref Unsafe.AsRef(&_ptr->ShowDefaultTicks);
///
///
/// C++:
/// implot_internal.h:667
///
bool Hovered
///
///
public ref bool Hovered => ref Unsafe.AsRef(&_ptr->Hovered);
///
///
/// C++:
/// implot_internal.h:668
///
bool Held
///
///
public ref bool Held => ref Unsafe.AsRef(&_ptr->Held);
}
}