mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
164
Brutal.ImPlot/Generated-Internal/Structs/ImPlotPointError.gen.cs
Normal file
164
Brutal.ImPlot/Generated-Internal/Structs/ImPlotPointError.gen.cs
Normal file
|
|
@ -0,0 +1,164 @@
|
|||
// <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#L421">implot_internal.h:421</see>
|
||||
/// <br/><c>struct ImPlotPointError {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public partial struct ImPlotPointError
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
|
||||
/// <br/><c>double X</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public double X;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
|
||||
/// <br/><c>double X, Y</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public double Y;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
|
||||
/// <br/><c>double X, Y, Neg</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public double Neg;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
|
||||
/// <br/><c>double X, Y, Neg, Pos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(24)]
|
||||
public double Pos;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L421">implot_internal.h:421</see>
|
||||
/// <br/><c>struct ImPlotPointError {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
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;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
|
||||
/// <br/><c>double X</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref double X => ref Unsafe.AsRef<double>(&_ptr->X);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
|
||||
/// <br/><c>double X, Y</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref double Y => ref Unsafe.AsRef<double>(&_ptr->Y);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
|
||||
/// <br/><c>double X, Y, Neg</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref double Neg => ref Unsafe.AsRef<double>(&_ptr->Neg);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L422">implot_internal.h:422</see>
|
||||
/// <br/><c>double X, Y, Neg, Pos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImPlotPoint with positive/negative error values
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref double Pos => ref Unsafe.AsRef<double>(&_ptr->Pos);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue