mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
386
Brutal.ImPlot/Generated-Internal/Structs/ImPlotLegend.gen.cs
Normal file
386
Brutal.ImPlot/Generated-Internal/Structs/ImPlotLegend.gen.cs
Normal 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<int> 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<int> 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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue