mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
100
brutal.imgui/Brutal.ImPlot/Generated/Structs/ImPlotRect.gen.cs
Normal file
100
brutal.imgui/Brutal.ImPlot/Generated/Structs/ImPlotRect.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#L495">implot.h:495</see><br/>
|
||||
/// <c>struct ImPlotRect {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public partial struct ImPlotRect
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L496">implot.h:496</see><br/>
|
||||
/// <c>ImPlotRange X</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImPlotRange X;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L496">implot.h:496</see><br/>
|
||||
/// <c>ImPlotRange X, Y</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public ImPlotRange Y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L495">implot.h:495</see><br/>
|
||||
/// <c>struct ImPlotRect {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImPlotRectPtr(ImPlotRect* ptr) : INullable
|
||||
{
|
||||
private ImPlotRect* _ptr = ptr;
|
||||
public ImPlotRect* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImPlotRectPtr(ImPlotRect* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImPlotRect*(ImPlotRectPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L496">implot.h:496</see><br/>
|
||||
/// <c>ImPlotRange X</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotRange X => ref Unsafe.AsRef<ImPlotRange>(&_ptr->X);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L496">implot.h:496</see><br/>
|
||||
/// <c>ImPlotRange X, Y</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotRange Y => ref Unsafe.AsRef<ImPlotRange>(&_ptr->Y);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue