SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d
19 changed files with 768360 additions and 0 deletions

View file

@ -0,0 +1,193 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L917">implot_internal.h:917</see>
/// <br/><c>struct ImPlotAlignmentData {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 20)]
public partial struct ImPlotAlignmentData
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L918">implot_internal.h:918</see>
/// <br/><c>bool Vertical</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
[FieldOffset(0)]
public Bool8 Vertical;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L919">implot_internal.h:919</see>
/// <br/><c>float PadA</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
[FieldOffset(4)]
public float PadA;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L920">implot_internal.h:920</see>
/// <br/><c>float PadB</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
[FieldOffset(8)]
public float PadB;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L921">implot_internal.h:921</see>
/// <br/><c>float PadAMax</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
[FieldOffset(12)]
public float PadAMax;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L922">implot_internal.h:922</see>
/// <br/><c>float PadBMax</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
[FieldOffset(16)]
public float PadBMax;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L917">implot_internal.h:917</see>
/// <br/><c>struct ImPlotAlignmentData {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
public unsafe partial struct ImPlotAlignmentDataPtr(ImPlotAlignmentData* ptr) : INullable
{
private ImPlotAlignmentData* _ptr = ptr;
public ImPlotAlignmentData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotAlignmentDataPtr(ImPlotAlignmentData* ptr) => new(ptr);
public static implicit operator ImPlotAlignmentData*(ImPlotAlignmentDataPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L918">implot_internal.h:918</see>
/// <br/><c>bool Vertical</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
public ref bool Vertical => ref Unsafe.AsRef<bool>(&_ptr->Vertical);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L919">implot_internal.h:919</see>
/// <br/><c>float PadA</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
public ref float PadA => ref Unsafe.AsRef<float>(&_ptr->PadA);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L920">implot_internal.h:920</see>
/// <br/><c>float PadB</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
public ref float PadB => ref Unsafe.AsRef<float>(&_ptr->PadB);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L921">implot_internal.h:921</see>
/// <br/><c>float PadAMax</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
public ref float PadAMax => ref Unsafe.AsRef<float>(&_ptr->PadAMax);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L922">implot_internal.h:922</see>
/// <br/><c>float PadBMax</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Align plots group data
/// </para>
/// </remarks>
public ref float PadBMax => ref Unsafe.AsRef<float>(&_ptr->PadBMax);
}
}

View file

@ -0,0 +1,222 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L429">implot_internal.h:429</see>
/// <br/><c>struct ImPlotAnnotation {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct ImPlotAnnotation
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L430">implot_internal.h:430</see>
/// <br/><c>ImVec2 Pos</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
[FieldOffset(0)]
public float2 Pos;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L431">implot_internal.h:431</see>
/// <br/><c>ImVec2 Offset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
[FieldOffset(8)]
public float2 Offset;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L432">implot_internal.h:432</see>
/// <br/><c>ImU32 ColorBg</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
[FieldOffset(16)]
public uint ColorBg;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L433">implot_internal.h:433</see>
/// <br/><c>ImU32 ColorFg</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
[FieldOffset(20)]
public uint ColorFg;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L434">implot_internal.h:434</see>
/// <br/><c>int TextOffset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
[FieldOffset(24)]
public int TextOffset;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L435">implot_internal.h:435</see>
/// <br/><c>bool Clamp</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
[FieldOffset(28)]
public Bool8 Clamp;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L429">implot_internal.h:429</see>
/// <br/><c>struct ImPlotAnnotation {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
public unsafe partial struct ImPlotAnnotationPtr(ImPlotAnnotation* ptr) : INullable
{
private ImPlotAnnotation* _ptr = ptr;
public ImPlotAnnotation* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotAnnotationPtr(ImPlotAnnotation* ptr) => new(ptr);
public static implicit operator ImPlotAnnotation*(ImPlotAnnotationPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L430">implot_internal.h:430</see>
/// <br/><c>ImVec2 Pos</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
public ref float2 Pos => ref Unsafe.AsRef<float2>(&_ptr->Pos);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L431">implot_internal.h:431</see>
/// <br/><c>ImVec2 Offset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
public ref float2 Offset => ref Unsafe.AsRef<float2>(&_ptr->Offset);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L432">implot_internal.h:432</see>
/// <br/><c>ImU32 ColorBg</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
public ref uint ColorBg => ref Unsafe.AsRef<uint>(&_ptr->ColorBg);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L433">implot_internal.h:433</see>
/// <br/><c>ImU32 ColorFg</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
public ref uint ColorFg => ref Unsafe.AsRef<uint>(&_ptr->ColorFg);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L434">implot_internal.h:434</see>
/// <br/><c>int TextOffset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
public ref int TextOffset => ref Unsafe.AsRef<int>(&_ptr->TextOffset);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L435">implot_internal.h:435</see>
/// <br/><c>bool Clamp</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Interior plot label/annotation
/// </para>
/// </remarks>
public ref bool Clamp => ref Unsafe.AsRef<bool>(&_ptr->Clamp);
}
}

View file

@ -0,0 +1,107 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L444">implot_internal.h:444</see>
/// <br/><c>struct ImPlotAnnotationCollection {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of plot labels
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 40)]
public partial struct ImPlotAnnotationCollection
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L446">implot_internal.h:446</see>
/// <br/><c>ImVector&lt;ImPlotAnnotation&gt; Annotations</c>
/// </para>
/// </summary>
[FieldOffset(0)]
public ImVector<ImPlotAnnotation> Annotations;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L447">implot_internal.h:447</see>
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
/// </para>
/// </summary>
[FieldOffset(16)]
public ImGuiTextBuffer TextBuffer;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L448">implot_internal.h:448</see>
/// <br/><c>int Size</c>
/// </para>
/// </summary>
[FieldOffset(32)]
public int Size;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L444">implot_internal.h:444</see>
/// <br/><c>struct ImPlotAnnotationCollection {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of plot labels
/// </para>
/// </remarks>
public unsafe partial struct ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* ptr) : INullable
{
private ImPlotAnnotationCollection* _ptr = ptr;
public ImPlotAnnotationCollection* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* ptr) => new(ptr);
public static implicit operator ImPlotAnnotationCollection*(ImPlotAnnotationCollectionPtr wrapper) =>
wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L446">implot_internal.h:446</see>
/// <br/><c>ImVector&lt;ImPlotAnnotation&gt; Annotations</c>
/// </para>
/// </summary>
public ref ImVector<ImPlotAnnotation> Annotations =>
ref Unsafe.AsRef<ImVector<ImPlotAnnotation>>(&_ptr->Annotations);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L447">implot_internal.h:447</see>
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
/// </para>
/// </summary>
public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef<ImGuiTextBuffer>(&_ptr->TextBuffer);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L448">implot_internal.h:448</see>
/// <br/><c>int Size</c>
/// </para>
/// </summary>
public ref int Size => ref Unsafe.AsRef<int>(&_ptr->Size);
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,367 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L319">implot_internal.h:319</see>
/// <br/><c>struct ImPlotColormapData {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 168)]
public partial struct ImPlotColormapData
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L320">implot_internal.h:320</see>
/// <br/><c>ImVector&lt;ImU32&gt; Keys</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(0)]
public ImVector<uint> Keys;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L321">implot_internal.h:321</see>
/// <br/><c>ImVector&lt;int&gt; KeyCounts</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(16)]
public ImVector<int> KeyCounts;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L322">implot_internal.h:322</see>
/// <br/><c>ImVector&lt;int&gt; KeyOffsets</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(32)]
public ImVector<int> KeyOffsets;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L323">implot_internal.h:323</see>
/// <br/><c>ImVector&lt;ImU32&gt; Tables</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(48)]
public ImVector<uint> Tables;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L324">implot_internal.h:324</see>
/// <br/><c>ImVector&lt;int&gt; TableSizes</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(64)]
public ImVector<int> TableSizes;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L325">implot_internal.h:325</see>
/// <br/><c>ImVector&lt;int&gt; TableOffsets</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(80)]
public ImVector<int> TableOffsets;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L326">implot_internal.h:326</see>
/// <br/><c>ImGuiTextBuffer Text</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(96)]
public ImGuiTextBuffer Text;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L327">implot_internal.h:327</see>
/// <br/><c>ImVector&lt;int&gt; TextOffsets</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(112)]
public ImVector<int> TextOffsets;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L328">implot_internal.h:328</see>
/// <br/><c>ImVector&lt;bool&gt; Quals</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(128)]
public ImVector<Bool8> Quals;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L329">implot_internal.h:329</see>
/// <br/><c>ImGuiStorage Map</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(144)]
public ImGuiStorage Map;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L330">implot_internal.h:330</see>
/// <br/><c>int Count</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
[FieldOffset(160)]
public int Count;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L319">implot_internal.h:319</see>
/// <br/><c>struct ImPlotColormapData {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public unsafe partial struct ImPlotColormapDataPtr(ImPlotColormapData* ptr) : INullable
{
private ImPlotColormapData* _ptr = ptr;
public ImPlotColormapData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotColormapDataPtr(ImPlotColormapData* ptr) => new(ptr);
public static implicit operator ImPlotColormapData*(ImPlotColormapDataPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L320">implot_internal.h:320</see>
/// <br/><c>ImVector&lt;ImU32&gt; Keys</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImVector<uint> Keys => ref Unsafe.AsRef<ImVector<uint>>(&_ptr->Keys);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L321">implot_internal.h:321</see>
/// <br/><c>ImVector&lt;int&gt; KeyCounts</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImVector<int> KeyCounts => ref Unsafe.AsRef<ImVector<int>>(&_ptr->KeyCounts);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L322">implot_internal.h:322</see>
/// <br/><c>ImVector&lt;int&gt; KeyOffsets</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImVector<int> KeyOffsets => ref Unsafe.AsRef<ImVector<int>>(&_ptr->KeyOffsets);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L323">implot_internal.h:323</see>
/// <br/><c>ImVector&lt;ImU32&gt; Tables</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImVector<uint> Tables => ref Unsafe.AsRef<ImVector<uint>>(&_ptr->Tables);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L324">implot_internal.h:324</see>
/// <br/><c>ImVector&lt;int&gt; TableSizes</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImVector<int> TableSizes => ref Unsafe.AsRef<ImVector<int>>(&_ptr->TableSizes);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L325">implot_internal.h:325</see>
/// <br/><c>ImVector&lt;int&gt; TableOffsets</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImVector<int> TableOffsets => ref Unsafe.AsRef<ImVector<int>>(&_ptr->TableOffsets);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L326">implot_internal.h:326</see>
/// <br/><c>ImGuiTextBuffer Text</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImGuiTextBuffer Text => ref Unsafe.AsRef<ImGuiTextBuffer>(&_ptr->Text);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L327">implot_internal.h:327</see>
/// <br/><c>ImVector&lt;int&gt; TextOffsets</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImVector<int> TextOffsets => ref Unsafe.AsRef<ImVector<int>>(&_ptr->TextOffsets);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L328">implot_internal.h:328</see>
/// <br/><c>ImVector&lt;bool&gt; Quals</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImVector<Bool8> Quals => ref Unsafe.AsRef<ImVector<Bool8>>(&_ptr->Quals);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L329">implot_internal.h:329</see>
/// <br/><c>ImGuiStorage Map</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref ImGuiStorage Map => ref Unsafe.AsRef<ImGuiStorage>(&_ptr->Map);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L330">implot_internal.h:330</see>
/// <br/><c>int Count</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Colormap data storage
/// </para>
/// </remarks>
public ref int Count => ref Unsafe.AsRef<int>(&_ptr->Count);
}
}

View file

@ -0,0 +1,164 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L278">implot_internal.h:278</see>
/// <br/><c>struct ImPlotDateTimeSpec {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct ImPlotDateTimeSpec
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L286">implot_internal.h:286</see>
/// <br/><c>ImPlotDateFmt Date</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
[FieldOffset(0)]
public ImPlotDateFmt Date;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L287">implot_internal.h:287</see>
/// <br/><c>ImPlotTimeFmt Time</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
[FieldOffset(4)]
public ImPlotTimeFmt Time;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L288">implot_internal.h:288</see>
/// <br/><c>bool UseISO8601</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
[FieldOffset(8)]
public Bool8 UseISO8601;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L289">implot_internal.h:289</see>
/// <br/><c>bool Use24HourClock</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
[FieldOffset(9)]
public Bool8 Use24HourClock;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L278">implot_internal.h:278</see>
/// <br/><c>struct ImPlotDateTimeSpec {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
public unsafe partial struct ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* ptr) : INullable
{
private ImPlotDateTimeSpec* _ptr = ptr;
public ImPlotDateTimeSpec* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* ptr) => new(ptr);
public static implicit operator ImPlotDateTimeSpec*(ImPlotDateTimeSpecPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L286">implot_internal.h:286</see>
/// <br/><c>ImPlotDateFmt Date</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
public ref ImPlotDateFmt Date => ref Unsafe.AsRef<ImPlotDateFmt>(&_ptr->Date);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L287">implot_internal.h:287</see>
/// <br/><c>ImPlotTimeFmt Time</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
public ref ImPlotTimeFmt Time => ref Unsafe.AsRef<ImPlotTimeFmt>(&_ptr->Time);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L288">implot_internal.h:288</see>
/// <br/><c>bool UseISO8601</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
public ref bool UseISO8601 => ref Unsafe.AsRef<bool>(&_ptr->UseISO8601);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L289">implot_internal.h:289</see>
/// <br/><c>bool Use24HourClock</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Combined date/time format spec
/// </para>
/// </remarks>
public ref bool Use24HourClock => ref Unsafe.AsRef<bool>(&_ptr->Use24HourClock);
}
}

View file

@ -0,0 +1,241 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L83">implot_internal.h:83</see>
/// <br/><c>struct ImPlotItem</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct ImPlotItem
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L942">implot_internal.h:942</see>
/// <br/><c>ImGuiID ID</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
[FieldOffset(0)]
public ImGuiID ID;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L943">implot_internal.h:943</see>
/// <br/><c>ImU32 Color</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
[FieldOffset(4)]
public uint Color;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L944">implot_internal.h:944</see>
/// <br/><c>ImRect LegendHoverRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
[FieldOffset(8)]
public floatRect LegendHoverRect;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L945">implot_internal.h:945</see>
/// <br/><c>int NameOffset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
[FieldOffset(24)]
public int NameOffset;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L946">implot_internal.h:946</see>
/// <br/><c>bool Show</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
[FieldOffset(28)]
public Bool8 Show;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L947">implot_internal.h:947</see>
/// <br/><c>bool LegendHovered</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
[FieldOffset(29)]
public Bool8 LegendHovered;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L948">implot_internal.h:948</see>
/// <br/><c>bool SeenThisFrame</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
[FieldOffset(30)]
public Bool8 SeenThisFrame;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L83">implot_internal.h:83</see>
/// <br/><c>struct ImPlotItem</c>
/// </para>
/// </summary>
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;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L942">implot_internal.h:942</see>
/// <br/><c>ImGuiID ID</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L943">implot_internal.h:943</see>
/// <br/><c>ImU32 Color</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
public ref uint Color => ref Unsafe.AsRef<uint>(&_ptr->Color);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L944">implot_internal.h:944</see>
/// <br/><c>ImRect LegendHoverRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
public ref floatRect LegendHoverRect => ref Unsafe.AsRef<floatRect>(&_ptr->LegendHoverRect);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L945">implot_internal.h:945</see>
/// <br/><c>int NameOffset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
public ref int NameOffset => ref Unsafe.AsRef<int>(&_ptr->NameOffset);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L946">implot_internal.h:946</see>
/// <br/><c>bool Show</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
public ref bool Show => ref Unsafe.AsRef<bool>(&_ptr->Show);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L947">implot_internal.h:947</see>
/// <br/><c>bool LegendHovered</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
public ref bool LegendHovered => ref Unsafe.AsRef<bool>(&_ptr->LegendHovered);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L948">implot_internal.h:948</see>
/// <br/><c>bool SeenThisFrame</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// State information for Plot items
/// </para>
/// </remarks>
public ref bool SeenThisFrame => ref Unsafe.AsRef<bool>(&_ptr->SeenThisFrame);
}
}

View file

@ -0,0 +1,164 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L990">implot_internal.h:990</see>
/// <br/><c>struct ImPlotItemGroup</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 152)]
public partial struct ImPlotItemGroup
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L992">implot_internal.h:992</see>
/// <br/><c>ImGuiID ID</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
[FieldOffset(0)]
public ImGuiID ID;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L993">implot_internal.h:993</see>
/// <br/><c>ImPlotLegend Legend</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
[FieldOffset(8)]
public ImPlotLegend Legend;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L994">implot_internal.h:994</see>
/// <br/><c>ImPool&lt;ImPlotItem&gt; ItemPool</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
[FieldOffset(104)]
public ImPool<ImPlotItem> ItemPool;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L995">implot_internal.h:995</see>
/// <br/><c>int ColormapIdx</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
[FieldOffset(144)]
public int ColormapIdx;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L990">implot_internal.h:990</see>
/// <br/><c>struct ImPlotItemGroup</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
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;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L992">implot_internal.h:992</see>
/// <br/><c>ImGuiID ID</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L993">implot_internal.h:993</see>
/// <br/><c>ImPlotLegend Legend</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
public ref ImPlotLegend Legend => ref Unsafe.AsRef<ImPlotLegend>(&_ptr->Legend);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L994">implot_internal.h:994</see>
/// <br/><c>ImPool&lt;ImPlotItem&gt; ItemPool</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
public ref ImPool<ImPlotItem> ItemPool => ref Unsafe.AsRef<ImPool<ImPlotItem>>(&_ptr->ItemPool);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L995">implot_internal.h:995</see>
/// <br/><c>int ColormapIdx</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Items and Legend data
/// </para>
/// </remarks>
public ref int ColormapIdx => ref Unsafe.AsRef<int>(&_ptr->ColormapIdx);
}
}

View file

@ -0,0 +1,386 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L84">implot_internal.h:84</see>
/// <br/><c>struct ImPlotLegend</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 96)]
public partial struct ImPlotLegend
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L965">implot_internal.h:965</see>
/// <br/><c>ImPlotLegendFlags Flags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(0)]
public ImPlotLegendFlags Flags;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L966">implot_internal.h:966</see>
/// <br/><c>ImPlotLegendFlags PreviousFlags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(4)]
public ImPlotLegendFlags PreviousFlags;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L967">implot_internal.h:967</see>
/// <br/><c>ImPlotLocation Location</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(8)]
public ImPlotLocation Location;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L968">implot_internal.h:968</see>
/// <br/><c>ImPlotLocation PreviousLocation</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(12)]
public ImPlotLocation PreviousLocation;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L969">implot_internal.h:969</see>
/// <br/><c>ImVec2 Scroll</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(16)]
public float2 Scroll;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L970">implot_internal.h:970</see>
/// <br/><c>ImVector&lt;int&gt; Indices</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(24)]
public ImVector<int> Indices;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L971">implot_internal.h:971</see>
/// <br/><c>ImGuiTextBuffer Labels</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(40)]
public ImGuiTextBuffer Labels;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L972">implot_internal.h:972</see>
/// <br/><c>ImRect Rect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(56)]
public floatRect Rect;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L973">implot_internal.h:973</see>
/// <br/><c>ImRect RectClamped</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(72)]
public floatRect RectClamped;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L974">implot_internal.h:974</see>
/// <br/><c>bool Hovered</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(88)]
public Bool8 Hovered;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L975">implot_internal.h:975</see>
/// <br/><c>bool Held</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(89)]
public Bool8 Held;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L976">implot_internal.h:976</see>
/// <br/><c>bool CanGoInside</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
[FieldOffset(90)]
public Bool8 CanGoInside;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L84">implot_internal.h:84</see>
/// <br/><c>struct ImPlotLegend</c>
/// </para>
/// </summary>
public unsafe partial struct ImPlotLegendPtr(ImPlotLegend* ptr) : INullable
{
private ImPlotLegend* _ptr = ptr;
public ImPlotLegend* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotLegendPtr(ImPlotLegend* ptr) => new(ptr);
public static implicit operator ImPlotLegend*(ImPlotLegendPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L965">implot_internal.h:965</see>
/// <br/><c>ImPlotLegendFlags Flags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref ImPlotLegendFlags Flags => ref Unsafe.AsRef<ImPlotLegendFlags>(&_ptr->Flags);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L966">implot_internal.h:966</see>
/// <br/><c>ImPlotLegendFlags PreviousFlags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref ImPlotLegendFlags PreviousFlags => ref Unsafe.AsRef<ImPlotLegendFlags>(&_ptr->PreviousFlags);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L967">implot_internal.h:967</see>
/// <br/><c>ImPlotLocation Location</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref ImPlotLocation Location => ref Unsafe.AsRef<ImPlotLocation>(&_ptr->Location);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L968">implot_internal.h:968</see>
/// <br/><c>ImPlotLocation PreviousLocation</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref ImPlotLocation PreviousLocation => ref Unsafe.AsRef<ImPlotLocation>(&_ptr->PreviousLocation);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L969">implot_internal.h:969</see>
/// <br/><c>ImVec2 Scroll</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref float2 Scroll => ref Unsafe.AsRef<float2>(&_ptr->Scroll);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L970">implot_internal.h:970</see>
/// <br/><c>ImVector&lt;int&gt; Indices</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref ImVector<int> Indices => ref Unsafe.AsRef<ImVector<int>>(&_ptr->Indices);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L971">implot_internal.h:971</see>
/// <br/><c>ImGuiTextBuffer Labels</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref ImGuiTextBuffer Labels => ref Unsafe.AsRef<ImGuiTextBuffer>(&_ptr->Labels);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L972">implot_internal.h:972</see>
/// <br/><c>ImRect Rect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref floatRect Rect => ref Unsafe.AsRef<floatRect>(&_ptr->Rect);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L973">implot_internal.h:973</see>
/// <br/><c>ImRect RectClamped</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref floatRect RectClamped => ref Unsafe.AsRef<floatRect>(&_ptr->RectClamped);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L974">implot_internal.h:974</see>
/// <br/><c>bool Hovered</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref bool Hovered => ref Unsafe.AsRef<bool>(&_ptr->Hovered);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L975">implot_internal.h:975</see>
/// <br/><c>bool Held</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref bool Held => ref Unsafe.AsRef<bool>(&_ptr->Held);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L976">implot_internal.h:976</see>
/// <br/><c>bool CanGoInside</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Legend state
/// </para>
/// </remarks>
public ref bool CanGoInside => ref Unsafe.AsRef<bool>(&_ptr->CanGoInside);
}
}

View file

@ -0,0 +1,547 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1175">implot_internal.h:1175</see>
/// <br/><c>struct ImPlotNextItemData {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 128)]
public partial struct ImPlotNextItemData
{
/// <summary>
/// <para>
/// ImPlotCol_Line, ImPlotCol_Fill, ImPlotCol_MarkerOutline, ImPlotCol_MarkerFill, ImPlotCol_ErrorBar
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1176">implot_internal.h:1176</see>
/// <br/><c>ImVec4 Colors[5]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(0)]
public float4_5 Colors;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1177">implot_internal.h:1177</see>
/// <br/><c>float LineWeight</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(80)]
public float LineWeight;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1178">implot_internal.h:1178</see>
/// <br/><c>ImPlotMarker Marker</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(84)]
public ImPlotMarker Marker;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1179">implot_internal.h:1179</see>
/// <br/><c>float MarkerSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(88)]
public float MarkerSize;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1180">implot_internal.h:1180</see>
/// <br/><c>float MarkerWeight</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(92)]
public float MarkerWeight;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1181">implot_internal.h:1181</see>
/// <br/><c>float FillAlpha</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(96)]
public float FillAlpha;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1182">implot_internal.h:1182</see>
/// <br/><c>float ErrorBarSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(100)]
public float ErrorBarSize;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1183">implot_internal.h:1183</see>
/// <br/><c>float ErrorBarWeight</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(104)]
public float ErrorBarWeight;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1184">implot_internal.h:1184</see>
/// <br/><c>float DigitalBitHeight</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(108)]
public float DigitalBitHeight;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1185">implot_internal.h:1185</see>
/// <br/><c>float DigitalBitGap</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(112)]
public float DigitalBitGap;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1186">implot_internal.h:1186</see>
/// <br/><c>bool RenderLine</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(116)]
public Bool8 RenderLine;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1187">implot_internal.h:1187</see>
/// <br/><c>bool RenderFill</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(117)]
public Bool8 RenderFill;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1188">implot_internal.h:1188</see>
/// <br/><c>bool RenderMarkerLine</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(118)]
public Bool8 RenderMarkerLine;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1189">implot_internal.h:1189</see>
/// <br/><c>bool RenderMarkerFill</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(119)]
public Bool8 RenderMarkerFill;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1190">implot_internal.h:1190</see>
/// <br/><c>bool HasHidden</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(120)]
public Bool8 HasHidden;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1191">implot_internal.h:1191</see>
/// <br/><c>bool Hidden</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(121)]
public Bool8 Hidden;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1192">implot_internal.h:1192</see>
/// <br/><c>ImPlotCond HiddenCond</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
[FieldOffset(124)]
public ImPlotCond HiddenCond;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1175">implot_internal.h:1175</see>
/// <br/><c>struct ImPlotNextItemData {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public unsafe partial struct ImPlotNextItemDataPtr(ImPlotNextItemData* ptr) : INullable
{
private ImPlotNextItemData* _ptr = ptr;
public ImPlotNextItemData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotNextItemDataPtr(ImPlotNextItemData* ptr) => new(ptr);
public static implicit operator ImPlotNextItemData*(ImPlotNextItemDataPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// ImPlotCol_Line, ImPlotCol_Fill, ImPlotCol_MarkerOutline, ImPlotCol_MarkerFill, ImPlotCol_ErrorBar
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1176">implot_internal.h:1176</see>
/// <br/><c>ImVec4 Colors[5]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref float4_5 Colors => ref Unsafe.AsRef<float4_5>(&_ptr->Colors);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1177">implot_internal.h:1177</see>
/// <br/><c>float LineWeight</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref float LineWeight => ref Unsafe.AsRef<float>(&_ptr->LineWeight);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1178">implot_internal.h:1178</see>
/// <br/><c>ImPlotMarker Marker</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref ImPlotMarker Marker => ref Unsafe.AsRef<ImPlotMarker>(&_ptr->Marker);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1179">implot_internal.h:1179</see>
/// <br/><c>float MarkerSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref float MarkerSize => ref Unsafe.AsRef<float>(&_ptr->MarkerSize);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1180">implot_internal.h:1180</see>
/// <br/><c>float MarkerWeight</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref float MarkerWeight => ref Unsafe.AsRef<float>(&_ptr->MarkerWeight);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1181">implot_internal.h:1181</see>
/// <br/><c>float FillAlpha</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref float FillAlpha => ref Unsafe.AsRef<float>(&_ptr->FillAlpha);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1182">implot_internal.h:1182</see>
/// <br/><c>float ErrorBarSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref float ErrorBarSize => ref Unsafe.AsRef<float>(&_ptr->ErrorBarSize);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1183">implot_internal.h:1183</see>
/// <br/><c>float ErrorBarWeight</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref float ErrorBarWeight => ref Unsafe.AsRef<float>(&_ptr->ErrorBarWeight);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1184">implot_internal.h:1184</see>
/// <br/><c>float DigitalBitHeight</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref float DigitalBitHeight => ref Unsafe.AsRef<float>(&_ptr->DigitalBitHeight);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1185">implot_internal.h:1185</see>
/// <br/><c>float DigitalBitGap</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref float DigitalBitGap => ref Unsafe.AsRef<float>(&_ptr->DigitalBitGap);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1186">implot_internal.h:1186</see>
/// <br/><c>bool RenderLine</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref bool RenderLine => ref Unsafe.AsRef<bool>(&_ptr->RenderLine);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1187">implot_internal.h:1187</see>
/// <br/><c>bool RenderFill</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref bool RenderFill => ref Unsafe.AsRef<bool>(&_ptr->RenderFill);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1188">implot_internal.h:1188</see>
/// <br/><c>bool RenderMarkerLine</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref bool RenderMarkerLine => ref Unsafe.AsRef<bool>(&_ptr->RenderMarkerLine);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1189">implot_internal.h:1189</see>
/// <br/><c>bool RenderMarkerFill</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref bool RenderMarkerFill => ref Unsafe.AsRef<bool>(&_ptr->RenderMarkerFill);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1190">implot_internal.h:1190</see>
/// <br/><c>bool HasHidden</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref bool HasHidden => ref Unsafe.AsRef<bool>(&_ptr->HasHidden);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1191">implot_internal.h:1191</see>
/// <br/><c>bool Hidden</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref bool Hidden => ref Unsafe.AsRef<bool>(&_ptr->Hidden);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1192">implot_internal.h:1192</see>
/// <br/><c>ImPlotCond HiddenCond</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming item
/// </para>
/// </remarks>
public ref ImPlotCond HiddenCond => ref Unsafe.AsRef<ImPlotCond>(&_ptr->HiddenCond);
}
}

View file

@ -0,0 +1,212 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L86">implot_internal.h:86</see>
/// <br/><c>struct ImPlotNextPlotData</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 232)]
public partial struct ImPlotNextPlotData
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1155">implot_internal.h:1155</see>
/// <br/><c>ImPlotCond RangeCond[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
[FieldOffset(0)]
public ImPlotCond_6 RangeCond;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1156">implot_internal.h:1156</see>
/// <br/><c>ImPlotRange Range[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
[FieldOffset(24)]
public ImPlotRange_6 Range;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1157">implot_internal.h:1157</see>
/// <br/><c>bool HasRange[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
[FieldOffset(120)]
public Bool8_6 HasRange;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1158">implot_internal.h:1158</see>
/// <br/><c>bool Fit[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
[FieldOffset(126)]
public Bool8_6 Fit;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1159">implot_internal.h:1159</see>
/// <br/><c>double* LinkedMin[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
[FieldOffset(136)]
public Ptr_double__6 LinkedMin;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1160">implot_internal.h:1160</see>
/// <br/><c>double* LinkedMax[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
[FieldOffset(184)]
public Ptr_double__6 LinkedMax;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L86">implot_internal.h:86</see>
/// <br/><c>struct ImPlotNextPlotData</c>
/// </para>
/// </summary>
public unsafe partial struct ImPlotNextPlotDataPtr(ImPlotNextPlotData* ptr) : INullable
{
private ImPlotNextPlotData* _ptr = ptr;
public ImPlotNextPlotData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotNextPlotDataPtr(ImPlotNextPlotData* ptr) => new(ptr);
public static implicit operator ImPlotNextPlotData*(ImPlotNextPlotDataPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1155">implot_internal.h:1155</see>
/// <br/><c>ImPlotCond RangeCond[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
public ref ImPlotCond_6 RangeCond => ref Unsafe.AsRef<ImPlotCond_6>(&_ptr->RangeCond);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1156">implot_internal.h:1156</see>
/// <br/><c>ImPlotRange Range[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
public ref ImPlotRange_6 Range => ref Unsafe.AsRef<ImPlotRange_6>(&_ptr->Range);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1157">implot_internal.h:1157</see>
/// <br/><c>bool HasRange[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
public ref Bool8_6 HasRange => ref Unsafe.AsRef<Bool8_6>(&_ptr->HasRange);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1158">implot_internal.h:1158</see>
/// <br/><c>bool Fit[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
public ref Bool8_6 Fit => ref Unsafe.AsRef<Bool8_6>(&_ptr->Fit);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1159">implot_internal.h:1159</see>
/// <br/><c>double* LinkedMin[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
public ref Ptr_double__6 LinkedMin => ref Unsafe.AsRef<Ptr_double__6>(&_ptr->LinkedMin);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1160">implot_internal.h:1160</see>
/// <br/><c>double* LinkedMax[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Temporary data storage for upcoming plot
/// </para>
/// </remarks>
public ref Ptr_double__6 LinkedMax => ref Unsafe.AsRef<Ptr_double__6>(&_ptr->LinkedMax);
}
}

View file

@ -0,0 +1,792 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L85">implot_internal.h:85</see>
/// <br/><c>struct ImPlotPlot</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 2560)]
public partial struct ImPlotPlot
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1015">implot_internal.h:1015</see>
/// <br/><c>ImGuiID ID</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(0)]
public ImGuiID ID;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1016">implot_internal.h:1016</see>
/// <br/><c>ImPlotFlags Flags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(4)]
public ImPlotFlags Flags;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1017">implot_internal.h:1017</see>
/// <br/><c>ImPlotFlags PreviousFlags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(8)]
public ImPlotFlags PreviousFlags;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1018">implot_internal.h:1018</see>
/// <br/><c>ImPlotLocation MouseTextLocation</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(12)]
public ImPlotLocation MouseTextLocation;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1019">implot_internal.h:1019</see>
/// <br/><c>ImPlotMouseTextFlags MouseTextFlags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(16)]
public ImPlotMouseTextFlags MouseTextFlags;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1020">implot_internal.h:1020</see>
/// <br/><c>ImPlotAxis Axes[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(24)]
public ImPlotAxis_6 Axes;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1021">implot_internal.h:1021</see>
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2280)]
public ImGuiTextBuffer TextBuffer;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1022">implot_internal.h:1022</see>
/// <br/><c>ImPlotItemGroup Items</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2296)]
public ImPlotItemGroup Items;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1023">implot_internal.h:1023</see>
/// <br/><c>ImAxis CurrentX</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2448)]
public ImAxis CurrentX;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1024">implot_internal.h:1024</see>
/// <br/><c>ImAxis CurrentY</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2452)]
public ImAxis CurrentY;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1025">implot_internal.h:1025</see>
/// <br/><c>ImRect FrameRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2456)]
public floatRect FrameRect;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1026">implot_internal.h:1026</see>
/// <br/><c>ImRect CanvasRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2472)]
public floatRect CanvasRect;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1027">implot_internal.h:1027</see>
/// <br/><c>ImRect PlotRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2488)]
public floatRect PlotRect;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1028">implot_internal.h:1028</see>
/// <br/><c>ImRect AxesRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2504)]
public floatRect AxesRect;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1029">implot_internal.h:1029</see>
/// <br/><c>ImRect SelectRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2520)]
public floatRect SelectRect;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1030">implot_internal.h:1030</see>
/// <br/><c>ImVec2 SelectStart</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2536)]
public float2 SelectStart;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1031">implot_internal.h:1031</see>
/// <br/><c>int TitleOffset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2544)]
public int TitleOffset;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1032">implot_internal.h:1032</see>
/// <br/><c>bool JustCreated</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2548)]
public Bool8 JustCreated;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1033">implot_internal.h:1033</see>
/// <br/><c>bool Initialized</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2549)]
public Bool8 Initialized;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1034">implot_internal.h:1034</see>
/// <br/><c>bool SetupLocked</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2550)]
public Bool8 SetupLocked;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1035">implot_internal.h:1035</see>
/// <br/><c>bool FitThisFrame</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2551)]
public Bool8 FitThisFrame;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1036">implot_internal.h:1036</see>
/// <br/><c>bool Hovered</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2552)]
public Bool8 Hovered;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1037">implot_internal.h:1037</see>
/// <br/><c>bool Held</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2553)]
public Bool8 Held;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1038">implot_internal.h:1038</see>
/// <br/><c>bool Selecting</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2554)]
public Bool8 Selecting;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1039">implot_internal.h:1039</see>
/// <br/><c>bool Selected</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2555)]
public Bool8 Selected;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1040">implot_internal.h:1040</see>
/// <br/><c>bool ContextLocked</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
[FieldOffset(2556)]
public Bool8 ContextLocked;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L85">implot_internal.h:85</see>
/// <br/><c>struct ImPlotPlot</c>
/// </para>
/// </summary>
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;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1015">implot_internal.h:1015</see>
/// <br/><c>ImGuiID ID</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1016">implot_internal.h:1016</see>
/// <br/><c>ImPlotFlags Flags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImPlotFlags Flags => ref Unsafe.AsRef<ImPlotFlags>(&_ptr->Flags);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1017">implot_internal.h:1017</see>
/// <br/><c>ImPlotFlags PreviousFlags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImPlotFlags PreviousFlags => ref Unsafe.AsRef<ImPlotFlags>(&_ptr->PreviousFlags);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1018">implot_internal.h:1018</see>
/// <br/><c>ImPlotLocation MouseTextLocation</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImPlotLocation MouseTextLocation => ref Unsafe.AsRef<ImPlotLocation>(&_ptr->MouseTextLocation);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1019">implot_internal.h:1019</see>
/// <br/><c>ImPlotMouseTextFlags MouseTextFlags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImPlotMouseTextFlags MouseTextFlags => ref Unsafe.AsRef<ImPlotMouseTextFlags>(&_ptr->MouseTextFlags);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1020">implot_internal.h:1020</see>
/// <br/><c>ImPlotAxis Axes[ImAxis_COUNT]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImPlotAxis_6 Axes => ref Unsafe.AsRef<ImPlotAxis_6>(&_ptr->Axes);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1021">implot_internal.h:1021</see>
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef<ImGuiTextBuffer>(&_ptr->TextBuffer);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1022">implot_internal.h:1022</see>
/// <br/><c>ImPlotItemGroup Items</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImPlotItemGroup Items => ref Unsafe.AsRef<ImPlotItemGroup>(&_ptr->Items);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1023">implot_internal.h:1023</see>
/// <br/><c>ImAxis CurrentX</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImAxis CurrentX => ref Unsafe.AsRef<ImAxis>(&_ptr->CurrentX);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1024">implot_internal.h:1024</see>
/// <br/><c>ImAxis CurrentY</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref ImAxis CurrentY => ref Unsafe.AsRef<ImAxis>(&_ptr->CurrentY);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1025">implot_internal.h:1025</see>
/// <br/><c>ImRect FrameRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref floatRect FrameRect => ref Unsafe.AsRef<floatRect>(&_ptr->FrameRect);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1026">implot_internal.h:1026</see>
/// <br/><c>ImRect CanvasRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref floatRect CanvasRect => ref Unsafe.AsRef<floatRect>(&_ptr->CanvasRect);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1027">implot_internal.h:1027</see>
/// <br/><c>ImRect PlotRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref floatRect PlotRect => ref Unsafe.AsRef<floatRect>(&_ptr->PlotRect);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1028">implot_internal.h:1028</see>
/// <br/><c>ImRect AxesRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref floatRect AxesRect => ref Unsafe.AsRef<floatRect>(&_ptr->AxesRect);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1029">implot_internal.h:1029</see>
/// <br/><c>ImRect SelectRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref floatRect SelectRect => ref Unsafe.AsRef<floatRect>(&_ptr->SelectRect);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1030">implot_internal.h:1030</see>
/// <br/><c>ImVec2 SelectStart</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref float2 SelectStart => ref Unsafe.AsRef<float2>(&_ptr->SelectStart);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1031">implot_internal.h:1031</see>
/// <br/><c>int TitleOffset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref int TitleOffset => ref Unsafe.AsRef<int>(&_ptr->TitleOffset);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1032">implot_internal.h:1032</see>
/// <br/><c>bool JustCreated</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref bool JustCreated => ref Unsafe.AsRef<bool>(&_ptr->JustCreated);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1033">implot_internal.h:1033</see>
/// <br/><c>bool Initialized</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref bool Initialized => ref Unsafe.AsRef<bool>(&_ptr->Initialized);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1034">implot_internal.h:1034</see>
/// <br/><c>bool SetupLocked</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref bool SetupLocked => ref Unsafe.AsRef<bool>(&_ptr->SetupLocked);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1035">implot_internal.h:1035</see>
/// <br/><c>bool FitThisFrame</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref bool FitThisFrame => ref Unsafe.AsRef<bool>(&_ptr->FitThisFrame);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1036">implot_internal.h:1036</see>
/// <br/><c>bool Hovered</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref bool Hovered => ref Unsafe.AsRef<bool>(&_ptr->Hovered);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1037">implot_internal.h:1037</see>
/// <br/><c>bool Held</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref bool Held => ref Unsafe.AsRef<bool>(&_ptr->Held);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1038">implot_internal.h:1038</see>
/// <br/><c>bool Selecting</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref bool Selecting => ref Unsafe.AsRef<bool>(&_ptr->Selecting);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1039">implot_internal.h:1039</see>
/// <br/><c>bool Selected</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref bool Selected => ref Unsafe.AsRef<bool>(&_ptr->Selected);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1040">implot_internal.h:1040</see>
/// <br/><c>bool ContextLocked</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds Plot state information that must persist after EndPlot
/// </para>
/// </remarks>
public ref bool ContextLocked => ref Unsafe.AsRef<bool>(&_ptr->ContextLocked);
}
}

View file

@ -0,0 +1,164 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L421">implot_internal.h:421</see>
/// <br/><c>struct ImPlotPointError {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct ImPlotPointError
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
/// <br/><c>double X</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
[FieldOffset(0)]
public double X;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
/// <br/><c>double X, Y</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
[FieldOffset(8)]
public double Y;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
/// <br/><c>double X, Y, Neg</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
[FieldOffset(16)]
public double Neg;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
/// <br/><c>double X, Y, Neg, Pos</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
[FieldOffset(24)]
public double Pos;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L421">implot_internal.h:421</see>
/// <br/><c>struct ImPlotPointError {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
public unsafe partial struct ImPlotPointErrorPtr(ImPlotPointError* ptr) : INullable
{
private ImPlotPointError* _ptr = ptr;
public ImPlotPointError* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotPointErrorPtr(ImPlotPointError* ptr) => new(ptr);
public static implicit operator ImPlotPointError*(ImPlotPointErrorPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
/// <br/><c>double X</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
public ref double X => ref Unsafe.AsRef<double>(&_ptr->X);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
/// <br/><c>double X, Y</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
public ref double Y => ref Unsafe.AsRef<double>(&_ptr->Y);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
/// <br/><c>double X, Y, Neg</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
public ref double Neg => ref Unsafe.AsRef<double>(&_ptr->Neg);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
/// <br/><c>double X, Y, Neg, Pos</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// ImPlotPoint with positive/negative error values
/// </para>
/// </remarks>
public ref double Pos => ref Unsafe.AsRef<double>(&_ptr->Pos);
}
}

View file

@ -0,0 +1,601 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1118">implot_internal.h:1118</see>
/// <br/><c>struct ImPlotSubplot {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 336)]
public partial struct ImPlotSubplot
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1119">implot_internal.h:1119</see>
/// <br/><c>ImGuiID ID</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(0)]
public ImGuiID ID;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1120">implot_internal.h:1120</see>
/// <br/><c>ImPlotSubplotFlags Flags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(4)]
public ImPlotSubplotFlags Flags;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1121">implot_internal.h:1121</see>
/// <br/><c>ImPlotSubplotFlags PreviousFlags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(8)]
public ImPlotSubplotFlags PreviousFlags;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1122">implot_internal.h:1122</see>
/// <br/><c>ImPlotItemGroup Items</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(16)]
public ImPlotItemGroup Items;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1123">implot_internal.h:1123</see>
/// <br/><c>int Rows</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(168)]
public int Rows;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1124">implot_internal.h:1124</see>
/// <br/><c>int Cols</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(172)]
public int Cols;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1125">implot_internal.h:1125</see>
/// <br/><c>int CurrentIdx</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(176)]
public int CurrentIdx;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1126">implot_internal.h:1126</see>
/// <br/><c>ImRect FrameRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(180)]
public floatRect FrameRect;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1127">implot_internal.h:1127</see>
/// <br/><c>ImRect GridRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(196)]
public floatRect GridRect;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1128">implot_internal.h:1128</see>
/// <br/><c>ImVec2 CellSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(212)]
public float2 CellSize;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1129">implot_internal.h:1129</see>
/// <br/><c>ImVector&lt;ImPlotAlignmentData&gt; RowAlignmentData</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(224)]
public ImVector<ImPlotAlignmentData> RowAlignmentData;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1130">implot_internal.h:1130</see>
/// <br/><c>ImVector&lt;ImPlotAlignmentData&gt; ColAlignmentData</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(240)]
public ImVector<ImPlotAlignmentData> ColAlignmentData;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1131">implot_internal.h:1131</see>
/// <br/><c>ImVector&lt;float&gt; RowRatios</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(256)]
public ImVector<float> RowRatios;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1132">implot_internal.h:1132</see>
/// <br/><c>ImVector&lt;float&gt; ColRatios</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(272)]
public ImVector<float> ColRatios;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1133">implot_internal.h:1133</see>
/// <br/><c>ImVector&lt;ImPlotRange&gt; RowLinkData</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(288)]
public ImVector<ImPlotRange> RowLinkData;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1134">implot_internal.h:1134</see>
/// <br/><c>ImVector&lt;ImPlotRange&gt; ColLinkData</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(304)]
public ImVector<ImPlotRange> ColLinkData;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1135">implot_internal.h:1135</see>
/// <br/><c>float TempSizes[2]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(320)]
public float2 TempSizes;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1136">implot_internal.h:1136</see>
/// <br/><c>bool FrameHovered</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(328)]
public Bool8 FrameHovered;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1137">implot_internal.h:1137</see>
/// <br/><c>bool HasTitle</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
[FieldOffset(329)]
public Bool8 HasTitle;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1118">implot_internal.h:1118</see>
/// <br/><c>struct ImPlotSubplot {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
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;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1119">implot_internal.h:1119</see>
/// <br/><c>ImGuiID ID</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1120">implot_internal.h:1120</see>
/// <br/><c>ImPlotSubplotFlags Flags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImPlotSubplotFlags Flags => ref Unsafe.AsRef<ImPlotSubplotFlags>(&_ptr->Flags);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1121">implot_internal.h:1121</see>
/// <br/><c>ImPlotSubplotFlags PreviousFlags</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImPlotSubplotFlags PreviousFlags => ref Unsafe.AsRef<ImPlotSubplotFlags>(&_ptr->PreviousFlags);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1122">implot_internal.h:1122</see>
/// <br/><c>ImPlotItemGroup Items</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImPlotItemGroup Items => ref Unsafe.AsRef<ImPlotItemGroup>(&_ptr->Items);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1123">implot_internal.h:1123</see>
/// <br/><c>int Rows</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref int Rows => ref Unsafe.AsRef<int>(&_ptr->Rows);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1124">implot_internal.h:1124</see>
/// <br/><c>int Cols</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref int Cols => ref Unsafe.AsRef<int>(&_ptr->Cols);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1125">implot_internal.h:1125</see>
/// <br/><c>int CurrentIdx</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref int CurrentIdx => ref Unsafe.AsRef<int>(&_ptr->CurrentIdx);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1126">implot_internal.h:1126</see>
/// <br/><c>ImRect FrameRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref floatRect FrameRect => ref Unsafe.AsRef<floatRect>(&_ptr->FrameRect);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1127">implot_internal.h:1127</see>
/// <br/><c>ImRect GridRect</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref floatRect GridRect => ref Unsafe.AsRef<floatRect>(&_ptr->GridRect);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1128">implot_internal.h:1128</see>
/// <br/><c>ImVec2 CellSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref float2 CellSize => ref Unsafe.AsRef<float2>(&_ptr->CellSize);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1129">implot_internal.h:1129</see>
/// <br/><c>ImVector&lt;ImPlotAlignmentData&gt; RowAlignmentData</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImVector<ImPlotAlignmentData> RowAlignmentData =>
ref Unsafe.AsRef<ImVector<ImPlotAlignmentData>>(&_ptr->RowAlignmentData);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1130">implot_internal.h:1130</see>
/// <br/><c>ImVector&lt;ImPlotAlignmentData&gt; ColAlignmentData</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImVector<ImPlotAlignmentData> ColAlignmentData =>
ref Unsafe.AsRef<ImVector<ImPlotAlignmentData>>(&_ptr->ColAlignmentData);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1131">implot_internal.h:1131</see>
/// <br/><c>ImVector&lt;float&gt; RowRatios</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImVector<float> RowRatios => ref Unsafe.AsRef<ImVector<float>>(&_ptr->RowRatios);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1132">implot_internal.h:1132</see>
/// <br/><c>ImVector&lt;float&gt; ColRatios</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImVector<float> ColRatios => ref Unsafe.AsRef<ImVector<float>>(&_ptr->ColRatios);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1133">implot_internal.h:1133</see>
/// <br/><c>ImVector&lt;ImPlotRange&gt; RowLinkData</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImVector<ImPlotRange> RowLinkData => ref Unsafe.AsRef<ImVector<ImPlotRange>>(&_ptr->RowLinkData);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1134">implot_internal.h:1134</see>
/// <br/><c>ImVector&lt;ImPlotRange&gt; ColLinkData</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref ImVector<ImPlotRange> ColLinkData => ref Unsafe.AsRef<ImVector<ImPlotRange>>(&_ptr->ColLinkData);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1135">implot_internal.h:1135</see>
/// <br/><c>float TempSizes[2]</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref float2 TempSizes => ref Unsafe.AsRef<float2>(&_ptr->TempSizes);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1136">implot_internal.h:1136</see>
/// <br/><c>bool FrameHovered</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref bool FrameHovered => ref Unsafe.AsRef<bool>(&_ptr->FrameHovered);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1137">implot_internal.h:1137</see>
/// <br/><c>bool HasTitle</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Holds subplot data that must persist after EndSubplot
/// </para>
/// </remarks>
public ref bool HasTitle => ref Unsafe.AsRef<bool>(&_ptr->HasTitle);
}
}

View file

@ -0,0 +1,133 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L483">implot_internal.h:483</see>
/// <br/><c>struct ImPlotTag {</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct ImPlotTag
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L484">implot_internal.h:484</see>
/// <br/><c>ImAxis Axis</c>
/// </para>
/// </summary>
[FieldOffset(0)]
public ImAxis Axis;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L485">implot_internal.h:485</see>
/// <br/><c>double Value</c>
/// </para>
/// </summary>
[FieldOffset(8)]
public double Value;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L486">implot_internal.h:486</see>
/// <br/><c>ImU32 ColorBg</c>
/// </para>
/// </summary>
[FieldOffset(16)]
public uint ColorBg;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L487">implot_internal.h:487</see>
/// <br/><c>ImU32 ColorFg</c>
/// </para>
/// </summary>
[FieldOffset(20)]
public uint ColorFg;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L488">implot_internal.h:488</see>
/// <br/><c>int TextOffset</c>
/// </para>
/// </summary>
[FieldOffset(24)]
public int TextOffset;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L483">implot_internal.h:483</see>
/// <br/><c>struct ImPlotTag {</c>
/// </para>
/// </summary>
public unsafe partial struct ImPlotTagPtr(ImPlotTag* ptr) : INullable
{
private ImPlotTag* _ptr = ptr;
public ImPlotTag* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotTagPtr(ImPlotTag* ptr) => new(ptr);
public static implicit operator ImPlotTag*(ImPlotTagPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L484">implot_internal.h:484</see>
/// <br/><c>ImAxis Axis</c>
/// </para>
/// </summary>
public ref ImAxis Axis => ref Unsafe.AsRef<ImAxis>(&_ptr->Axis);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L485">implot_internal.h:485</see>
/// <br/><c>double Value</c>
/// </para>
/// </summary>
public ref double Value => ref Unsafe.AsRef<double>(&_ptr->Value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L486">implot_internal.h:486</see>
/// <br/><c>ImU32 ColorBg</c>
/// </para>
/// </summary>
public ref uint ColorBg => ref Unsafe.AsRef<uint>(&_ptr->ColorBg);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L487">implot_internal.h:487</see>
/// <br/><c>ImU32 ColorFg</c>
/// </para>
/// </summary>
public ref uint ColorFg => ref Unsafe.AsRef<uint>(&_ptr->ColorFg);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L488">implot_internal.h:488</see>
/// <br/><c>int TextOffset</c>
/// </para>
/// </summary>
public ref int TextOffset => ref Unsafe.AsRef<int>(&_ptr->TextOffset);
}
}

View file

@ -0,0 +1,95 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L491">implot_internal.h:491</see>
/// <br/><c>struct ImPlotTagCollection {</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 40)]
public partial struct ImPlotTagCollection
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L493">implot_internal.h:493</see>
/// <br/><c>ImVector&lt;ImPlotTag&gt; Tags</c>
/// </para>
/// </summary>
[FieldOffset(0)]
public ImVector<ImPlotTag> Tags;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L494">implot_internal.h:494</see>
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
/// </para>
/// </summary>
[FieldOffset(16)]
public ImGuiTextBuffer TextBuffer;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L495">implot_internal.h:495</see>
/// <br/><c>int Size</c>
/// </para>
/// </summary>
[FieldOffset(32)]
public int Size;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L491">implot_internal.h:491</see>
/// <br/><c>struct ImPlotTagCollection {</c>
/// </para>
/// </summary>
public unsafe partial struct ImPlotTagCollectionPtr(ImPlotTagCollection* ptr) : INullable
{
private ImPlotTagCollection* _ptr = ptr;
public ImPlotTagCollection* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotTagCollectionPtr(ImPlotTagCollection* ptr) => new(ptr);
public static implicit operator ImPlotTagCollection*(ImPlotTagCollectionPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L493">implot_internal.h:493</see>
/// <br/><c>ImVector&lt;ImPlotTag&gt; Tags</c>
/// </para>
/// </summary>
public ref ImVector<ImPlotTag> Tags => ref Unsafe.AsRef<ImVector<ImPlotTag>>(&_ptr->Tags);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L494">implot_internal.h:494</see>
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
/// </para>
/// </summary>
public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef<ImGuiTextBuffer>(&_ptr->TextBuffer);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L495">implot_internal.h:495</see>
/// <br/><c>int Size</c>
/// </para>
/// </summary>
public ref int Size => ref Unsafe.AsRef<int>(&_ptr->Size);
}
}

View file

@ -0,0 +1,270 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L80">implot_internal.h:80</see>
/// <br/><c>struct ImPlotTick</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 40)]
public partial struct ImPlotTick
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L534">implot_internal.h:534</see>
/// <br/><c>double PlotPos</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
[FieldOffset(0)]
public double PlotPos;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L535">implot_internal.h:535</see>
/// <br/><c>float PixelPos</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
[FieldOffset(8)]
public float PixelPos;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L536">implot_internal.h:536</see>
/// <br/><c>ImVec2 LabelSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
[FieldOffset(12)]
public float2 LabelSize;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L537">implot_internal.h:537</see>
/// <br/><c>int TextOffset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
[FieldOffset(20)]
public int TextOffset;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L538">implot_internal.h:538</see>
/// <br/><c>bool Major</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
[FieldOffset(24)]
public Bool8 Major;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L539">implot_internal.h:539</see>
/// <br/><c>bool ShowLabel</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
[FieldOffset(25)]
public Bool8 ShowLabel;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L540">implot_internal.h:540</see>
/// <br/><c>int Level</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
[FieldOffset(28)]
public int Level;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L541">implot_internal.h:541</see>
/// <br/><c>int Idx</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
[FieldOffset(32)]
public int Idx;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L80">implot_internal.h:80</see>
/// <br/><c>struct ImPlotTick</c>
/// </para>
/// </summary>
public unsafe partial struct ImPlotTickPtr(ImPlotTick* ptr) : INullable
{
private ImPlotTick* _ptr = ptr;
public ImPlotTick* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotTickPtr(ImPlotTick* ptr) => new(ptr);
public static implicit operator ImPlotTick*(ImPlotTickPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L534">implot_internal.h:534</see>
/// <br/><c>double PlotPos</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
public ref double PlotPos => ref Unsafe.AsRef<double>(&_ptr->PlotPos);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L535">implot_internal.h:535</see>
/// <br/><c>float PixelPos</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
public ref float PixelPos => ref Unsafe.AsRef<float>(&_ptr->PixelPos);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L536">implot_internal.h:536</see>
/// <br/><c>ImVec2 LabelSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
public ref float2 LabelSize => ref Unsafe.AsRef<float2>(&_ptr->LabelSize);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L537">implot_internal.h:537</see>
/// <br/><c>int TextOffset</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
public ref int TextOffset => ref Unsafe.AsRef<int>(&_ptr->TextOffset);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L538">implot_internal.h:538</see>
/// <br/><c>bool Major</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
public ref bool Major => ref Unsafe.AsRef<bool>(&_ptr->Major);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L539">implot_internal.h:539</see>
/// <br/><c>bool ShowLabel</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
public ref bool ShowLabel => ref Unsafe.AsRef<bool>(&_ptr->ShowLabel);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L540">implot_internal.h:540</see>
/// <br/><c>int Level</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
public ref int Level => ref Unsafe.AsRef<int>(&_ptr->Level);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L541">implot_internal.h:541</see>
/// <br/><c>int Idx</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tick mark info
/// </para>
/// </remarks>
public ref int Idx => ref Unsafe.AsRef<int>(&_ptr->Idx);
}
}

View file

@ -0,0 +1,183 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L87">implot_internal.h:87</see>
/// <br/><c>struct ImPlotTicker</c>
/// </para>
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 56)]
public partial struct ImPlotTicker
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L555">implot_internal.h:555</see>
/// <br/><c>ImVector&lt;ImPlotTick&gt; Ticks</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
[FieldOffset(0)]
public ImVector<ImPlotTick> Ticks;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L556">implot_internal.h:556</see>
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
[FieldOffset(16)]
public ImGuiTextBuffer TextBuffer;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L557">implot_internal.h:557</see>
/// <br/><c>ImVec2 MaxSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
[FieldOffset(32)]
public float2 MaxSize;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L558">implot_internal.h:558</see>
/// <br/><c>ImVec2 LateSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
[FieldOffset(40)]
public float2 LateSize;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L559">implot_internal.h:559</see>
/// <br/><c>int Levels</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
[FieldOffset(48)]
public int Levels;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L87">implot_internal.h:87</see>
/// <br/><c>struct ImPlotTicker</c>
/// </para>
/// </summary>
public unsafe partial struct ImPlotTickerPtr(ImPlotTicker* ptr) : INullable
{
private ImPlotTicker* _ptr = ptr;
public ImPlotTicker* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotTickerPtr(ImPlotTicker* ptr) => new(ptr);
public static implicit operator ImPlotTicker*(ImPlotTickerPtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L555">implot_internal.h:555</see>
/// <br/><c>ImVector&lt;ImPlotTick&gt; Ticks</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
public ref ImVector<ImPlotTick> Ticks => ref Unsafe.AsRef<ImVector<ImPlotTick>>(&_ptr->Ticks);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L556">implot_internal.h:556</see>
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef<ImGuiTextBuffer>(&_ptr->TextBuffer);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L557">implot_internal.h:557</see>
/// <br/><c>ImVec2 MaxSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
public ref float2 MaxSize => ref Unsafe.AsRef<float2>(&_ptr->MaxSize);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L558">implot_internal.h:558</see>
/// <br/><c>ImVec2 LateSize</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
public ref float2 LateSize => ref Unsafe.AsRef<float2>(&_ptr->LateSize);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L559">implot_internal.h:559</see>
/// <br/><c>int Levels</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Collection of ticks
/// </para>
/// </remarks>
public ref int Levels => ref Unsafe.AsRef<int>(&_ptr->Levels);
}
}

View file

@ -0,0 +1,118 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L293">implot_internal.h:293</see>
/// <br/><c>struct ImPlotTime {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Two part timestamp struct.
/// </para>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct ImPlotTime
{
/// <summary>
/// <para>
/// second part
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L294">implot_internal.h:294</see>
/// <br/><c>time_t S</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Two part timestamp struct.
/// </para>
/// </remarks>
[FieldOffset(0)]
public long S;
/// <summary>
/// <para>
/// microsecond part
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L295">implot_internal.h:295</see>
/// <br/><c>int Us</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Two part timestamp struct.
/// </para>
/// </remarks>
[FieldOffset(8)]
public int Us;
}
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L293">implot_internal.h:293</see>
/// <br/><c>struct ImPlotTime {</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Two part timestamp struct.
/// </para>
/// </remarks>
public unsafe partial struct ImPlotTimePtr(ImPlotTime* ptr) : INullable
{
private ImPlotTime* _ptr = ptr;
public ImPlotTime* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotTimePtr(ImPlotTime* ptr) => new(ptr);
public static implicit operator ImPlotTime*(ImPlotTimePtr wrapper) => wrapper.Ptr;
/// <summary>
/// <para>
/// second part
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L294">implot_internal.h:294</see>
/// <br/><c>time_t S</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Two part timestamp struct.
/// </para>
/// </remarks>
public ref long S => ref Unsafe.AsRef<long>(&_ptr->S);
/// <summary>
/// <para>
/// microsecond part
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L295">implot_internal.h:295</see>
/// <br/><c>int Us</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Two part timestamp struct.
/// </para>
/// </remarks>
public ref int Us => ref Unsafe.AsRef<int>(&_ptr->Us);
}
}