mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
471 lines
21 KiB
C#
471 lines
21 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Temporary storage for one table (one per table in the stack), shared between tables.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L184">imgui_internal.h:184</see>
|
|
/// <br/><c>struct ImGuiTableTempData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 136)]
|
|
public partial struct ImGuiTableTempData
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index in g.Tables.Buf[] pool
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3254">imgui_internal.h:3254</see>
|
|
/// <br/><c>int TableIndex</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
|
|
/// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
|
|
/// - We also leave out of this structure data that tend to be particularly useful for debugging/metrics.
|
|
/// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
|
|
/// sizeof() ~ 136 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public int TableIndex;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Last timestamp this structure was used
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3255">imgui_internal.h:3255</see>
|
|
/// <br/><c>float LastTimeActive</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
|
|
/// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
|
|
/// - We also leave out of this structure data that tend to be particularly useful for debugging/metrics.
|
|
/// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
|
|
/// sizeof() ~ 136 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(4)]
|
|
public float LastTimeActive;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used in EndTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3256">imgui_internal.h:3256</see>
|
|
/// <br/><c>float AngledHeadersExtraWidth</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
|
|
/// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
|
|
/// - We also leave out of this structure data that tend to be particularly useful for debugging/metrics.
|
|
/// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
|
|
/// sizeof() ~ 136 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public float AngledHeadersExtraWidth;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used in TableAngledHeadersRow()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3257">imgui_internal.h:3257</see>
|
|
/// <br/><c>ImVector<ImGuiTableHeaderData> AngledHeadersRequests</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
|
|
/// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
|
|
/// - We also leave out of this structure data that tend to be particularly useful for debugging/metrics.
|
|
/// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
|
|
/// sizeof() ~ 136 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(16)]
|
|
public ImVector<ImGuiTableHeaderData> AngledHeadersRequests;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// outer_size.x passed to BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3259">imgui_internal.h:3259</see>
|
|
/// <br/><c>ImVec2 UserOuterSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(32)]
|
|
public float2 UserOuterSize;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3260">imgui_internal.h:3260</see>
|
|
/// <br/><c>ImDrawListSplitter DrawSplitter</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(40)]
|
|
public ImDrawListSplitter DrawSplitter;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->WorkRect at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3262">imgui_internal.h:3262</see>
|
|
/// <br/><c>ImRect HostBackupWorkRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(64)]
|
|
public floatRect HostBackupWorkRect;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->ParentWorkRect at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3263">imgui_internal.h:3263</see>
|
|
/// <br/><c>ImRect HostBackupParentWorkRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(80)]
|
|
public floatRect HostBackupParentWorkRect;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->DC.PrevLineSize at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3264">imgui_internal.h:3264</see>
|
|
/// <br/><c>ImVec2 HostBackupPrevLineSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(96)]
|
|
public float2 HostBackupPrevLineSize;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->DC.CurrLineSize at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3265">imgui_internal.h:3265</see>
|
|
/// <br/><c>ImVec2 HostBackupCurrLineSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(104)]
|
|
public float2 HostBackupCurrLineSize;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->DC.CursorMaxPos at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3266">imgui_internal.h:3266</see>
|
|
/// <br/><c>ImVec2 HostBackupCursorMaxPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(112)]
|
|
public float2 HostBackupCursorMaxPos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of OuterWindow->DC.ColumnsOffset at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3267">imgui_internal.h:3267</see>
|
|
/// <br/><c>ImVec1 HostBackupColumnsOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(120)]
|
|
public float HostBackupColumnsOffset;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of OuterWindow->DC.ItemWidth at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3268">imgui_internal.h:3268</see>
|
|
/// <br/><c>float HostBackupItemWidth</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(124)]
|
|
public float HostBackupItemWidth;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of OuterWindow->DC.ItemWidthStack.Size at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3269">imgui_internal.h:3269</see>
|
|
/// <br/><c>int HostBackupItemWidthStackSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(128)]
|
|
public int HostBackupItemWidthStackSize;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Temporary storage for one table (one per table in the stack), shared between tables.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L184">imgui_internal.h:184</see>
|
|
/// <br/><c>struct ImGuiTableTempData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiTableTempDataPtr(ImGuiTableTempData* ptr) : INullable
|
|
{
|
|
private ImGuiTableTempData* _ptr = ptr;
|
|
public ImGuiTableTempData* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiTableTempDataPtr(ImGuiTableTempData* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiTableTempData*(ImGuiTableTempDataPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index in g.Tables.Buf[] pool
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3254">imgui_internal.h:3254</see>
|
|
/// <br/><c>int TableIndex</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
|
|
/// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
|
|
/// - We also leave out of this structure data that tend to be particularly useful for debugging/metrics.
|
|
/// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
|
|
/// sizeof() ~ 136 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int TableIndex => ref Unsafe.AsRef<int>(&_ptr->TableIndex);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Last timestamp this structure was used
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3255">imgui_internal.h:3255</see>
|
|
/// <br/><c>float LastTimeActive</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
|
|
/// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
|
|
/// - We also leave out of this structure data that tend to be particularly useful for debugging/metrics.
|
|
/// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
|
|
/// sizeof() ~ 136 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float LastTimeActive => ref Unsafe.AsRef<float>(&_ptr->LastTimeActive);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used in EndTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3256">imgui_internal.h:3256</see>
|
|
/// <br/><c>float AngledHeadersExtraWidth</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
|
|
/// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
|
|
/// - We also leave out of this structure data that tend to be particularly useful for debugging/metrics.
|
|
/// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
|
|
/// sizeof() ~ 136 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float AngledHeadersExtraWidth => ref Unsafe.AsRef<float>(&_ptr->AngledHeadersExtraWidth);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used in TableAngledHeadersRow()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3257">imgui_internal.h:3257</see>
|
|
/// <br/><c>ImVector<ImGuiTableHeaderData> AngledHeadersRequests</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
|
|
/// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
|
|
/// - We also leave out of this structure data that tend to be particularly useful for debugging/metrics.
|
|
/// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
|
|
/// sizeof() ~ 136 bytes.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImVector<ImGuiTableHeaderData> AngledHeadersRequests =>
|
|
ref Unsafe.AsRef<ImVector<ImGuiTableHeaderData>>(&_ptr->AngledHeadersRequests);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// outer_size.x passed to BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3259">imgui_internal.h:3259</see>
|
|
/// <br/><c>ImVec2 UserOuterSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float2 UserOuterSize => ref Unsafe.AsRef<float2>(&_ptr->UserOuterSize);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3260">imgui_internal.h:3260</see>
|
|
/// <br/><c>ImDrawListSplitter DrawSplitter</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref ImDrawListSplitter DrawSplitter => ref Unsafe.AsRef<ImDrawListSplitter>(&_ptr->DrawSplitter);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->WorkRect at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3262">imgui_internal.h:3262</see>
|
|
/// <br/><c>ImRect HostBackupWorkRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref floatRect HostBackupWorkRect => ref Unsafe.AsRef<floatRect>(&_ptr->HostBackupWorkRect);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->ParentWorkRect at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3263">imgui_internal.h:3263</see>
|
|
/// <br/><c>ImRect HostBackupParentWorkRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref floatRect HostBackupParentWorkRect => ref Unsafe.AsRef<floatRect>(&_ptr->HostBackupParentWorkRect);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->DC.PrevLineSize at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3264">imgui_internal.h:3264</see>
|
|
/// <br/><c>ImVec2 HostBackupPrevLineSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float2 HostBackupPrevLineSize => ref Unsafe.AsRef<float2>(&_ptr->HostBackupPrevLineSize);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->DC.CurrLineSize at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3265">imgui_internal.h:3265</see>
|
|
/// <br/><c>ImVec2 HostBackupCurrLineSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float2 HostBackupCurrLineSize => ref Unsafe.AsRef<float2>(&_ptr->HostBackupCurrLineSize);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of InnerWindow->DC.CursorMaxPos at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3266">imgui_internal.h:3266</see>
|
|
/// <br/><c>ImVec2 HostBackupCursorMaxPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float2 HostBackupCursorMaxPos => ref Unsafe.AsRef<float2>(&_ptr->HostBackupCursorMaxPos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of OuterWindow->DC.ColumnsOffset at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3267">imgui_internal.h:3267</see>
|
|
/// <br/><c>ImVec1 HostBackupColumnsOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float HostBackupColumnsOffset => ref Unsafe.AsRef<float>(&_ptr->HostBackupColumnsOffset);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of OuterWindow->DC.ItemWidth at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3268">imgui_internal.h:3268</see>
|
|
/// <br/><c>float HostBackupItemWidth</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float HostBackupItemWidth => ref Unsafe.AsRef<float>(&_ptr->HostBackupItemWidth);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Backup of OuterWindow->DC.ItemWidthStack.Size at the end of BeginTable()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3269">imgui_internal.h:3269</see>
|
|
/// <br/><c>int HostBackupItemWidthStackSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref int HostBackupItemWidthStackSize => ref Unsafe.AsRef<int>(&_ptr->HostBackupItemWidthStackSize);
|
|
}
|
|
}
|