mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
272 lines
11 KiB
C#
272 lines
11 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>
|
|
/// Storage for one instance of a same table
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L183">imgui_internal.h:183</see>
|
|
/// <br/><c>struct ImGuiTableInstanceData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
|
public partial struct ImGuiTableInstanceData
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3116">imgui_internal.h:3116</see>
|
|
/// <br/><c>ImGuiID TableInstanceID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImGuiID TableInstanceID;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Outer height from last frame
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3117">imgui_internal.h:3117</see>
|
|
/// <br/><c>float LastOuterHeight</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(4)]
|
|
public float LastOuterHeight;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Height of first consecutive header rows from last frame (FIXME: this is used assuming consecutive
|
|
/// headers are in same frozen set)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3118">imgui_internal.h:3118</see>
|
|
/// <br/><c>float LastTopHeadersRowHeight</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public float LastTopHeadersRowHeight;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Height of frozen section from last frame
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3119">imgui_internal.h:3119</see>
|
|
/// <br/><c>float LastFrozenHeight</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(12)]
|
|
public float LastFrozenHeight;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index of row which was hovered last frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3120">imgui_internal.h:3120</see>
|
|
/// <br/><c>int HoveredRowLast</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(16)]
|
|
public int HoveredRowLast;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index of row hovered this frame, set after encountering it.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3121">imgui_internal.h:3121</see>
|
|
/// <br/><c>int HoveredRowNext</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(20)]
|
|
public int HoveredRowNext;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Storage for one instance of a same table
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L183">imgui_internal.h:183</see>
|
|
/// <br/><c>struct ImGuiTableInstanceData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
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;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3116">imgui_internal.h:3116</see>
|
|
/// <br/><c>ImGuiID TableInstanceID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiID TableInstanceID => ref Unsafe.AsRef<ImGuiID>(&_ptr->TableInstanceID);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Outer height from last frame
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3117">imgui_internal.h:3117</see>
|
|
/// <br/><c>float LastOuterHeight</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float LastOuterHeight => ref Unsafe.AsRef<float>(&_ptr->LastOuterHeight);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Height of first consecutive header rows from last frame (FIXME: this is used assuming consecutive
|
|
/// headers are in same frozen set)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3118">imgui_internal.h:3118</see>
|
|
/// <br/><c>float LastTopHeadersRowHeight</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float LastTopHeadersRowHeight => ref Unsafe.AsRef<float>(&_ptr->LastTopHeadersRowHeight);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Height of frozen section from last frame
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3119">imgui_internal.h:3119</see>
|
|
/// <br/><c>float LastFrozenHeight</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float LastFrozenHeight => ref Unsafe.AsRef<float>(&_ptr->LastFrozenHeight);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index of row which was hovered last frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3120">imgui_internal.h:3120</see>
|
|
/// <br/><c>int HoveredRowLast</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int HoveredRowLast => ref Unsafe.AsRef<int>(&_ptr->HoveredRowLast);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Index of row hovered this frame, set after encountering it.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3121">imgui_internal.h:3121</see>
|
|
/// <br/><c>int HoveredRowNext</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int HoveredRowNext => ref Unsafe.AsRef<int>(&_ptr->HoveredRowNext);
|
|
}
|
|
}
|