mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
118
Brutal.ImPlot/Generated-Internal/Structs/ImPlotTime.gen.cs
Normal file
118
Brutal.ImPlot/Generated-Internal/Structs/ImPlotTime.gen.cs
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L293">implot_internal.h:293</see>
|
||||
/// <br/><c>struct ImPlotTime {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Two part timestamp struct.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct ImPlotTime
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// second part
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L294">implot_internal.h:294</see>
|
||||
/// <br/><c>time_t S</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Two part timestamp struct.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public long S;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// microsecond part
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L295">implot_internal.h:295</see>
|
||||
/// <br/><c>int Us</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Two part timestamp struct.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public int Us;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L293">implot_internal.h:293</see>
|
||||
/// <br/><c>struct ImPlotTime {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Two part timestamp struct.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
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;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// second part
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L294">implot_internal.h:294</see>
|
||||
/// <br/><c>time_t S</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Two part timestamp struct.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref long S => ref Unsafe.AsRef<long>(&_ptr->S);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// microsecond part
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L295">implot_internal.h:295</see>
|
||||
/// <br/><c>int Us</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Two part timestamp struct.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int Us => ref Unsafe.AsRef<int>(&_ptr->Us);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue