mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
270 lines
8.6 KiB
C#
270 lines
8.6 KiB
C#
// <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);
|
|
}
|
|
}
|