//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi
{
///
///
/// C++: implot.h:485
/// struct ImPlotRange {
///
///
///
///
/// Range defined by a min/max value.
///
///
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct ImPlotRange
{
///
///
/// C++: implot.h:486
/// double Min
///
///
///
///
/// Range defined by a min/max value.
///
///
[FieldOffset(0)]
public double Min;
///
///
/// C++: implot.h:486
/// double Min, Max
///
///
///
///
/// Range defined by a min/max value.
///
///
[FieldOffset(8)]
public double Max;
}
///
///
/// C++: implot.h:485
/// struct ImPlotRange {
///
///
///
///
/// Range defined by a min/max value.
///
///
public unsafe partial struct ImPlotRangePtr(ImPlotRange* ptr) : INullable
{
private ImPlotRange* _ptr = ptr;
public ImPlotRange* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotRangePtr(ImPlotRange* ptr) => new(ptr);
public static implicit operator ImPlotRange*(ImPlotRangePtr wrapper) => wrapper.Ptr;
///
///
/// C++: implot.h:486
/// double Min
///
///
///
///
/// Range defined by a min/max value.
///
///
public ref double Min => ref Unsafe.AsRef(&_ptr->Min);
///
///
/// C++: implot.h:486
/// double Min, Max
///
///
///
///
/// Range defined by a min/max value.
///
///
public ref double Max => ref Unsafe.AsRef(&_ptr->Max);
}
}