//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:293
///
struct ImPlotTime {
///
///
///
///
/// Two part timestamp struct.
///
///
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct ImPlotTime
{
///
///
/// second part
///
///
/// C++:
/// implot_internal.h:294
///
time_t S
///
///
///
///
/// Two part timestamp struct.
///
///
[FieldOffset(0)]
public long S;
///
///
/// microsecond part
///
///
/// C++:
/// implot_internal.h:295
///
int Us
///
///
///
///
/// Two part timestamp struct.
///
///
[FieldOffset(8)]
public int Us;
}
///
///
/// C++:
/// implot_internal.h:293
///
struct ImPlotTime {
///
///
///
///
/// Two part timestamp struct.
///
///
public unsafe partial struct ImPlotTimePtr(ImPlotTime* ptr) : INullable
{
private ImPlotTime* _ptr = ptr;
public ImPlotTime* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotTimePtr(ImPlotTime* ptr) => new(ptr);
public static implicit operator ImPlotTime*(ImPlotTimePtr wrapper) => wrapper.Ptr;
///
///
/// second part
///
///
/// C++:
/// implot_internal.h:294
///
time_t S
///
///
///
///
/// Two part timestamp struct.
///
///
public ref long S => ref Unsafe.AsRef(&_ptr->S);
///
///
/// microsecond part
///
///
/// C++:
/// implot_internal.h:295
///
int Us
///
///
///
///
/// Two part timestamp struct.
///
///
public ref int Us => ref Unsafe.AsRef(&_ptr->Us);
}
}