mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue