//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:421
///
struct ImPlotPointError {
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct ImPlotPointError
{
///
///
/// C++:
/// implot_internal.h:422
///
double X
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
[FieldOffset(0)]
public double X;
///
///
/// C++:
/// implot_internal.h:422
///
double X, Y
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
[FieldOffset(8)]
public double Y;
///
///
/// C++:
/// implot_internal.h:422
///
double X, Y, Neg
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
[FieldOffset(16)]
public double Neg;
///
///
/// C++:
/// implot_internal.h:422
///
double X, Y, Neg, Pos
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
[FieldOffset(24)]
public double Pos;
}
///
///
/// C++:
/// implot_internal.h:421
///
struct ImPlotPointError {
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
public unsafe partial struct ImPlotPointErrorPtr(ImPlotPointError* ptr) : INullable
{
private ImPlotPointError* _ptr = ptr;
public ImPlotPointError* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotPointErrorPtr(ImPlotPointError* ptr) => new(ptr);
public static implicit operator ImPlotPointError*(ImPlotPointErrorPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// implot_internal.h:422
///
double X
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
public ref double X => ref Unsafe.AsRef(&_ptr->X);
///
///
/// C++:
/// implot_internal.h:422
///
double X, Y
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
public ref double Y => ref Unsafe.AsRef(&_ptr->Y);
///
///
/// C++:
/// implot_internal.h:422
///
double X, Y, Neg
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
public ref double Neg => ref Unsafe.AsRef(&_ptr->Neg);
///
///
/// C++:
/// implot_internal.h:422
///
double X, Y, Neg, Pos
///
///
///
///
/// ImPlotPoint with positive/negative error values
///
///
public ref double Pos => ref Unsafe.AsRef(&_ptr->Pos);
}
}