//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Temporary storage for one table (one per table in the stack), shared between tables.
///
///
/// C++:
/// imgui_internal.h:184
///
struct ImGuiTableTempData
///
///
///
///
/// ImGui
///
///
[StructLayout(LayoutKind.Explicit, Size = 136)]
public partial struct ImGuiTableTempData
{
///
///
/// Index in g.Tables.Buf[] pool
///
///
/// C++:
/// imgui_internal.h:3254
///
int TableIndex
///
///
///
///
/// 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.
///
///
[FieldOffset(0)]
public int TableIndex;
///
///
/// Last timestamp this structure was used
///
///
/// C++:
/// imgui_internal.h:3255
///
float LastTimeActive
///
///
///
///
/// 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.
///
///
[FieldOffset(4)]
public float LastTimeActive;
///
///
/// Used in EndTable()
///
///
/// C++:
/// imgui_internal.h:3256
///
float AngledHeadersExtraWidth
///
///
///
///
/// 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.
///
///
[FieldOffset(8)]
public float AngledHeadersExtraWidth;
///
///
/// Used in TableAngledHeadersRow()
///
///
/// C++:
/// imgui_internal.h:3257
///
ImVector<ImGuiTableHeaderData> AngledHeadersRequests
///
///
///
///
/// 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.
///
///
[FieldOffset(16)]
public ImVector AngledHeadersRequests;
///
///
/// outer_size.x passed to BeginTable()
///
///
/// C++:
/// imgui_internal.h:3259
///
ImVec2 UserOuterSize
///
///
[FieldOffset(32)]
public float2 UserOuterSize;
///
///
/// C++:
/// imgui_internal.h:3260
///
ImDrawListSplitter DrawSplitter
///
///
[FieldOffset(40)]
public ImDrawListSplitter DrawSplitter;
///
///
/// Backup of InnerWindow->WorkRect at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3262
///
ImRect HostBackupWorkRect
///
///
[FieldOffset(64)]
public floatRect HostBackupWorkRect;
///
///
/// Backup of InnerWindow->ParentWorkRect at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3263
///
ImRect HostBackupParentWorkRect
///
///
[FieldOffset(80)]
public floatRect HostBackupParentWorkRect;
///
///
/// Backup of InnerWindow->DC.PrevLineSize at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3264
///
ImVec2 HostBackupPrevLineSize
///
///
[FieldOffset(96)]
public float2 HostBackupPrevLineSize;
///
///
/// Backup of InnerWindow->DC.CurrLineSize at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3265
///
ImVec2 HostBackupCurrLineSize
///
///
[FieldOffset(104)]
public float2 HostBackupCurrLineSize;
///
///
/// Backup of InnerWindow->DC.CursorMaxPos at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3266
///
ImVec2 HostBackupCursorMaxPos
///
///
[FieldOffset(112)]
public float2 HostBackupCursorMaxPos;
///
///
/// Backup of OuterWindow->DC.ColumnsOffset at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3267
///
ImVec1 HostBackupColumnsOffset
///
///
[FieldOffset(120)]
public float HostBackupColumnsOffset;
///
///
/// Backup of OuterWindow->DC.ItemWidth at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3268
///
float HostBackupItemWidth
///
///
[FieldOffset(124)]
public float HostBackupItemWidth;
///
///
/// Backup of OuterWindow->DC.ItemWidthStack.Size at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3269
///
int HostBackupItemWidthStackSize
///
///
[FieldOffset(128)]
public int HostBackupItemWidthStackSize;
}
///
///
/// Temporary storage for one table (one per table in the stack), shared between tables.
///
///
/// C++:
/// imgui_internal.h:184
///
struct ImGuiTableTempData
///
///
///
///
/// ImGui
///
///
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;
///
///
/// Index in g.Tables.Buf[] pool
///
///
/// C++:
/// imgui_internal.h:3254
///
int TableIndex
///
///
///
///
/// 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.
///
///
public ref int TableIndex => ref Unsafe.AsRef(&_ptr->TableIndex);
///
///
/// Last timestamp this structure was used
///
///
/// C++:
/// imgui_internal.h:3255
///
float LastTimeActive
///
///
///
///
/// 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.
///
///
public ref float LastTimeActive => ref Unsafe.AsRef(&_ptr->LastTimeActive);
///
///
/// Used in EndTable()
///
///
/// C++:
/// imgui_internal.h:3256
///
float AngledHeadersExtraWidth
///
///
///
///
/// 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.
///
///
public ref float AngledHeadersExtraWidth => ref Unsafe.AsRef(&_ptr->AngledHeadersExtraWidth);
///
///
/// Used in TableAngledHeadersRow()
///
///
/// C++:
/// imgui_internal.h:3257
///
ImVector<ImGuiTableHeaderData> AngledHeadersRequests
///
///
///
///
/// 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.
///
///
public ref ImVector AngledHeadersRequests =>
ref Unsafe.AsRef>(&_ptr->AngledHeadersRequests);
///
///
/// outer_size.x passed to BeginTable()
///
///
/// C++:
/// imgui_internal.h:3259
///
ImVec2 UserOuterSize
///
///
public ref float2 UserOuterSize => ref Unsafe.AsRef(&_ptr->UserOuterSize);
///
///
/// C++:
/// imgui_internal.h:3260
///
ImDrawListSplitter DrawSplitter
///
///
public ref ImDrawListSplitter DrawSplitter => ref Unsafe.AsRef(&_ptr->DrawSplitter);
///
///
/// Backup of InnerWindow->WorkRect at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3262
///
ImRect HostBackupWorkRect
///
///
public ref floatRect HostBackupWorkRect => ref Unsafe.AsRef(&_ptr->HostBackupWorkRect);
///
///
/// Backup of InnerWindow->ParentWorkRect at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3263
///
ImRect HostBackupParentWorkRect
///
///
public ref floatRect HostBackupParentWorkRect => ref Unsafe.AsRef(&_ptr->HostBackupParentWorkRect);
///
///
/// Backup of InnerWindow->DC.PrevLineSize at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3264
///
ImVec2 HostBackupPrevLineSize
///
///
public ref float2 HostBackupPrevLineSize => ref Unsafe.AsRef(&_ptr->HostBackupPrevLineSize);
///
///
/// Backup of InnerWindow->DC.CurrLineSize at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3265
///
ImVec2 HostBackupCurrLineSize
///
///
public ref float2 HostBackupCurrLineSize => ref Unsafe.AsRef(&_ptr->HostBackupCurrLineSize);
///
///
/// Backup of InnerWindow->DC.CursorMaxPos at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3266
///
ImVec2 HostBackupCursorMaxPos
///
///
public ref float2 HostBackupCursorMaxPos => ref Unsafe.AsRef(&_ptr->HostBackupCursorMaxPos);
///
///
/// Backup of OuterWindow->DC.ColumnsOffset at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3267
///
ImVec1 HostBackupColumnsOffset
///
///
public ref float HostBackupColumnsOffset => ref Unsafe.AsRef(&_ptr->HostBackupColumnsOffset);
///
///
/// Backup of OuterWindow->DC.ItemWidth at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3268
///
float HostBackupItemWidth
///
///
public ref float HostBackupItemWidth => ref Unsafe.AsRef(&_ptr->HostBackupItemWidth);
///
///
/// Backup of OuterWindow->DC.ItemWidthStack.Size at the end of BeginTable()
///
///
/// C++:
/// imgui_internal.h:3269
///
int HostBackupItemWidthStackSize
///
///
public ref int HostBackupItemWidthStackSize => ref Unsafe.AsRef(&_ptr->HostBackupItemWidthStackSize);
}
}