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
100
Brutal.ImPlot/Generated/Structs/ImPlotRange.gen.cs
Normal file
100
Brutal.ImPlot/Generated/Structs/ImPlotRange.gen.cs
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImPlotApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L485">implot.h:485</see><br/>
|
||||
/// <c>struct ImPlotRange {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct ImPlotRange
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L486">implot.h:486</see><br/>
|
||||
/// <c>double Min</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public double Min;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L486">implot.h:486</see><br/>
|
||||
/// <c>double Min, Max</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public double Max;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L485">implot.h:485</see><br/>
|
||||
/// <c>struct ImPlotRange {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
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;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L486">implot.h:486</see><br/>
|
||||
/// <c>double Min</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref double Min => ref Unsafe.AsRef<double>(&_ptr->Min);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L486">implot.h:486</see><br/>
|
||||
/// <c>double Min, Max</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref double Max => ref Unsafe.AsRef<double>(&_ptr->Max);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue