brutal/brutal.imgui/Brutal.ImPlot/Generated-Internal/Structs/ImPlotTicker.gen.cs
2026-10-15 14:12:02 +13:00

183 lines
6.1 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#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);
}
}