mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
164 lines
5.4 KiB
C#
164 lines
5.4 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#L990">implot_internal.h:990</see>
|
|
/// <br/><c>struct ImPlotItemGroup</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 152)]
|
|
public partial struct ImPlotItemGroup
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L992">implot_internal.h:992</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImGuiID ID;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L993">implot_internal.h:993</see>
|
|
/// <br/><c>ImPlotLegend Legend</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public ImPlotLegend Legend;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L994">implot_internal.h:994</see>
|
|
/// <br/><c>ImPool<ImPlotItem> ItemPool</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(104)]
|
|
public ImPool<ImPlotItem> ItemPool;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L995">implot_internal.h:995</see>
|
|
/// <br/><c>int ColormapIdx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(144)]
|
|
public int ColormapIdx;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L990">implot_internal.h:990</see>
|
|
/// <br/><c>struct ImPlotItemGroup</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImPlotItemGroupPtr(ImPlotItemGroup* ptr) : INullable
|
|
{
|
|
private ImPlotItemGroup* _ptr = ptr;
|
|
public ImPlotItemGroup* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImPlotItemGroupPtr(ImPlotItemGroup* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImPlotItemGroup*(ImPlotItemGroupPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L992">implot_internal.h:992</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L993">implot_internal.h:993</see>
|
|
/// <br/><c>ImPlotLegend Legend</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImPlotLegend Legend => ref Unsafe.AsRef<ImPlotLegend>(&_ptr->Legend);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L994">implot_internal.h:994</see>
|
|
/// <br/><c>ImPool<ImPlotItem> ItemPool</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImPool<ImPlotItem> ItemPool => ref Unsafe.AsRef<ImPool<ImPlotItem>>(&_ptr->ItemPool);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L995">implot_internal.h:995</see>
|
|
/// <br/><c>int ColormapIdx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Holds Items and Legend data
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref int ColormapIdx => ref Unsafe.AsRef<int>(&_ptr->ColormapIdx);
|
|
}
|
|
}
|