//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Storage for one instance of a same table
///
///
/// C++:
/// imgui_internal.h:183
///
struct ImGuiTableInstanceData
///
///
///
///
/// ImGui
///
///
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct ImGuiTableInstanceData
{
///
///
/// C++:
/// imgui_internal.h:3116
///
ImGuiID TableInstanceID
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
[FieldOffset(0)]
public ImGuiID TableInstanceID;
///
///
/// Outer height from last frame
///
///
/// C++:
/// imgui_internal.h:3117
///
float LastOuterHeight
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
[FieldOffset(4)]
public float LastOuterHeight;
///
///
/// Height of first consecutive header rows from last frame (FIXME: this is used assuming consecutive
/// headers are in same frozen set)
///
///
/// C++:
/// imgui_internal.h:3118
///
float LastTopHeadersRowHeight
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
[FieldOffset(8)]
public float LastTopHeadersRowHeight;
///
///
/// Height of frozen section from last frame
///
///
/// C++:
/// imgui_internal.h:3119
///
float LastFrozenHeight
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
[FieldOffset(12)]
public float LastFrozenHeight;
///
///
/// Index of row which was hovered last frame.
///
///
/// C++:
/// imgui_internal.h:3120
///
int HoveredRowLast
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
[FieldOffset(16)]
public int HoveredRowLast;
///
///
/// Index of row hovered this frame, set after encountering it.
///
///
/// C++:
/// imgui_internal.h:3121
///
int HoveredRowNext
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
[FieldOffset(20)]
public int HoveredRowNext;
}
///
///
/// Storage for one instance of a same table
///
///
/// C++:
/// imgui_internal.h:183
///
struct ImGuiTableInstanceData
///
///
///
///
/// ImGui
///
///
public unsafe partial struct ImGuiTableInstanceDataPtr(ImGuiTableInstanceData* ptr) : INullable
{
private ImGuiTableInstanceData* _ptr = ptr;
public ImGuiTableInstanceData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiTableInstanceDataPtr(ImGuiTableInstanceData* ptr) => new(ptr);
public static implicit operator ImGuiTableInstanceData*(ImGuiTableInstanceDataPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:3116
///
ImGuiID TableInstanceID
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
public ref ImGuiID TableInstanceID => ref Unsafe.AsRef(&_ptr->TableInstanceID);
///
///
/// Outer height from last frame
///
///
/// C++:
/// imgui_internal.h:3117
///
float LastOuterHeight
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
public ref float LastOuterHeight => ref Unsafe.AsRef(&_ptr->LastOuterHeight);
///
///
/// Height of first consecutive header rows from last frame (FIXME: this is used assuming consecutive
/// headers are in same frozen set)
///
///
/// C++:
/// imgui_internal.h:3118
///
float LastTopHeadersRowHeight
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
public ref float LastTopHeadersRowHeight => ref Unsafe.AsRef(&_ptr->LastTopHeadersRowHeight);
///
///
/// Height of frozen section from last frame
///
///
/// C++:
/// imgui_internal.h:3119
///
float LastFrozenHeight
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
public ref float LastFrozenHeight => ref Unsafe.AsRef(&_ptr->LastFrozenHeight);
///
///
/// Index of row which was hovered last frame.
///
///
/// C++:
/// imgui_internal.h:3120
///
int HoveredRowLast
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
public ref int HoveredRowLast => ref Unsafe.AsRef(&_ptr->HoveredRowLast);
///
///
/// Index of row hovered this frame, set after encountering it.
///
///
/// C++:
/// imgui_internal.h:3121
///
int HoveredRowNext
///
///
///
///
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
/// sizeof() ~ 24 bytes
///
///
public ref int HoveredRowNext => ref Unsafe.AsRef(&_ptr->HoveredRowNext);
}
}