//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:87
///
struct ImPlotTicker
///
///
[StructLayout(LayoutKind.Explicit, Size = 56)]
public partial struct ImPlotTicker
{
///
///
/// C++:
/// implot_internal.h:555
///
ImVector<ImPlotTick> Ticks
///
///
///
///
/// Collection of ticks
///
///
[FieldOffset(0)]
public ImVector Ticks;
///
///
/// C++:
/// implot_internal.h:556
///
ImGuiTextBuffer TextBuffer
///
///
///
///
/// Collection of ticks
///
///
[FieldOffset(16)]
public ImGuiTextBuffer TextBuffer;
///
///
/// C++:
/// implot_internal.h:557
///
ImVec2 MaxSize
///
///
///
///
/// Collection of ticks
///
///
[FieldOffset(32)]
public float2 MaxSize;
///
///
/// C++:
/// implot_internal.h:558
///
ImVec2 LateSize
///
///
///
///
/// Collection of ticks
///
///
[FieldOffset(40)]
public float2 LateSize;
///
///
/// C++:
/// implot_internal.h:559
///
int Levels
///
///
///
///
/// Collection of ticks
///
///
[FieldOffset(48)]
public int Levels;
}
///
///
/// C++:
/// implot_internal.h:87
///
struct ImPlotTicker
///
///
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;
///
///
/// C++:
/// implot_internal.h:555
///
ImVector<ImPlotTick> Ticks
///
///
///
///
/// Collection of ticks
///
///
public ref ImVector Ticks => ref Unsafe.AsRef>(&_ptr->Ticks);
///
///
/// C++:
/// implot_internal.h:556
///
ImGuiTextBuffer TextBuffer
///
///
///
///
/// Collection of ticks
///
///
public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&_ptr->TextBuffer);
///
///
/// C++:
/// implot_internal.h:557
///
ImVec2 MaxSize
///
///
///
///
/// Collection of ticks
///
///
public ref float2 MaxSize => ref Unsafe.AsRef(&_ptr->MaxSize);
///
///
/// C++:
/// implot_internal.h:558
///
ImVec2 LateSize
///
///
///
///
/// Collection of ticks
///
///
public ref float2 LateSize => ref Unsafe.AsRef(&_ptr->LateSize);
///
///
/// C++:
/// implot_internal.h:559
///
int Levels
///
///
///
///
/// Collection of ticks
///
///
public ref int Levels => ref Unsafe.AsRef(&_ptr->Levels);
}
}