mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
107 lines
3.9 KiB
C#
107 lines
3.9 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#L444">implot_internal.h:444</see>
|
|
/// <br/><c>struct ImPlotAnnotationCollection {</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Collection of plot labels
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
|
public partial struct ImPlotAnnotationCollection
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L446">implot_internal.h:446</see>
|
|
/// <br/><c>ImVector<ImPlotAnnotation> Annotations</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public ImVector<ImPlotAnnotation> Annotations;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L447">implot_internal.h:447</see>
|
|
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(16)]
|
|
public ImGuiTextBuffer TextBuffer;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L448">implot_internal.h:448</see>
|
|
/// <br/><c>int Size</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(32)]
|
|
public int Size;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L444">implot_internal.h:444</see>
|
|
/// <br/><c>struct ImPlotAnnotationCollection {</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Collection of plot labels
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* ptr) : INullable
|
|
{
|
|
private ImPlotAnnotationCollection* _ptr = ptr;
|
|
public ImPlotAnnotationCollection* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImPlotAnnotationCollection*(ImPlotAnnotationCollectionPtr wrapper) =>
|
|
wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L446">implot_internal.h:446</see>
|
|
/// <br/><c>ImVector<ImPlotAnnotation> Annotations</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref ImVector<ImPlotAnnotation> Annotations =>
|
|
ref Unsafe.AsRef<ImVector<ImPlotAnnotation>>(&_ptr->Annotations);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L447">implot_internal.h:447</see>
|
|
/// <br/><c>ImGuiTextBuffer TextBuffer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef<ImGuiTextBuffer>(&_ptr->TextBuffer);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L448">implot_internal.h:448</see>
|
|
/// <br/><c>int Size</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref int Size => ref Unsafe.AsRef<int>(&_ptr->Size);
|
|
}
|
|
}
|