//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:80
///
struct ImPlotTick
///
///
[StructLayout(LayoutKind.Explicit, Size = 40)]
public partial struct ImPlotTick
{
///
///
/// C++:
/// implot_internal.h:534
///
double PlotPos
///
///
///
///
/// Tick mark info
///
///
[FieldOffset(0)]
public double PlotPos;
///
///
/// C++:
/// implot_internal.h:535
///
float PixelPos
///
///
///
///
/// Tick mark info
///
///
[FieldOffset(8)]
public float PixelPos;
///
///
/// C++:
/// implot_internal.h:536
///
ImVec2 LabelSize
///
///
///
///
/// Tick mark info
///
///
[FieldOffset(12)]
public float2 LabelSize;
///
///
/// C++:
/// implot_internal.h:537
///
int TextOffset
///
///
///
///
/// Tick mark info
///
///
[FieldOffset(20)]
public int TextOffset;
///
///
/// C++:
/// implot_internal.h:538
///
bool Major
///
///
///
///
/// Tick mark info
///
///
[FieldOffset(24)]
public Bool8 Major;
///
///
/// C++:
/// implot_internal.h:539
///
bool ShowLabel
///
///
///
///
/// Tick mark info
///
///
[FieldOffset(25)]
public Bool8 ShowLabel;
///
///
/// C++:
/// implot_internal.h:540
///
int Level
///
///
///
///
/// Tick mark info
///
///
[FieldOffset(28)]
public int Level;
///
///
/// C++:
/// implot_internal.h:541
///
int Idx
///
///
///
///
/// Tick mark info
///
///
[FieldOffset(32)]
public int Idx;
}
///
///
/// C++:
/// implot_internal.h:80
///
struct ImPlotTick
///
///
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;
///
///
/// C++:
/// implot_internal.h:534
///
double PlotPos
///
///
///
///
/// Tick mark info
///
///
public ref double PlotPos => ref Unsafe.AsRef(&_ptr->PlotPos);
///
///
/// C++:
/// implot_internal.h:535
///
float PixelPos
///
///
///
///
/// Tick mark info
///
///
public ref float PixelPos => ref Unsafe.AsRef(&_ptr->PixelPos);
///
///
/// C++:
/// implot_internal.h:536
///
ImVec2 LabelSize
///
///
///
///
/// Tick mark info
///
///
public ref float2 LabelSize => ref Unsafe.AsRef(&_ptr->LabelSize);
///
///
/// C++:
/// implot_internal.h:537
///
int TextOffset
///
///
///
///
/// Tick mark info
///
///
public ref int TextOffset => ref Unsafe.AsRef(&_ptr->TextOffset);
///
///
/// C++:
/// implot_internal.h:538
///
bool Major
///
///
///
///
/// Tick mark info
///
///
public ref bool Major => ref Unsafe.AsRef(&_ptr->Major);
///
///
/// C++:
/// implot_internal.h:539
///
bool ShowLabel
///
///
///
///
/// Tick mark info
///
///
public ref bool ShowLabel => ref Unsafe.AsRef(&_ptr->ShowLabel);
///
///
/// C++:
/// implot_internal.h:540
///
int Level
///
///
///
///
/// Tick mark info
///
///
public ref int Level => ref Unsafe.AsRef(&_ptr->Level);
///
///
/// C++:
/// implot_internal.h:541
///
int Idx
///
///
///
///
/// Tick mark info
///
///
public ref int Idx => ref Unsafe.AsRef(&_ptr->Idx);
}
}