mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
222 lines
7.3 KiB
C#
222 lines
7.3 KiB
C#
// <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#L429">implot_internal.h:429</see>
|
|
/// <br/><c>struct ImPlotAnnotation {</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
|
public partial struct ImPlotAnnotation
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L430">implot_internal.h:430</see>
|
|
/// <br/><c>ImVec2 Pos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public float2 Pos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L431">implot_internal.h:431</see>
|
|
/// <br/><c>ImVec2 Offset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public float2 Offset;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L432">implot_internal.h:432</see>
|
|
/// <br/><c>ImU32 ColorBg</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(16)]
|
|
public uint ColorBg;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L433">implot_internal.h:433</see>
|
|
/// <br/><c>ImU32 ColorFg</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(20)]
|
|
public uint ColorFg;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L434">implot_internal.h:434</see>
|
|
/// <br/><c>int TextOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(24)]
|
|
public int TextOffset;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L435">implot_internal.h:435</see>
|
|
/// <br/><c>bool Clamp</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(28)]
|
|
public Bool8 Clamp;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L429">implot_internal.h:429</see>
|
|
/// <br/><c>struct ImPlotAnnotation {</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImPlotAnnotationPtr(ImPlotAnnotation* ptr) : INullable
|
|
{
|
|
private ImPlotAnnotation* _ptr = ptr;
|
|
public ImPlotAnnotation* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImPlotAnnotationPtr(ImPlotAnnotation* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImPlotAnnotation*(ImPlotAnnotationPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L430">implot_internal.h:430</see>
|
|
/// <br/><c>ImVec2 Pos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 Pos => ref Unsafe.AsRef<float2>(&_ptr->Pos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L431">implot_internal.h:431</see>
|
|
/// <br/><c>ImVec2 Offset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 Offset => ref Unsafe.AsRef<float2>(&_ptr->Offset);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L432">implot_internal.h:432</see>
|
|
/// <br/><c>ImU32 ColorBg</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref uint ColorBg => ref Unsafe.AsRef<uint>(&_ptr->ColorBg);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L433">implot_internal.h:433</see>
|
|
/// <br/><c>ImU32 ColorFg</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref uint ColorFg => ref Unsafe.AsRef<uint>(&_ptr->ColorFg);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L434">implot_internal.h:434</see>
|
|
/// <br/><c>int TextOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref int TextOffset => ref Unsafe.AsRef<int>(&_ptr->TextOffset);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L435">implot_internal.h:435</see>
|
|
/// <br/><c>bool Clamp</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Interior plot label/annotation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool Clamp => ref Unsafe.AsRef<bool>(&_ptr->Clamp);
|
|
}
|
|
}
|