//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:2297
///
struct ImGuiIDStackTool
///
///
///
///
/// State for ID Stack tool queries
///
///
[StructLayout(LayoutKind.Explicit, Size = 56)]
public partial struct ImGuiIDStackTool
{
///
///
/// C++:
/// imgui_internal.h:2299
///
int LastActiveFrame
///
///
///
///
/// State for ID Stack tool queries
///
///
[FieldOffset(0)]
public int LastActiveFrame;
///
///
/// -1: query stack and resize Results, >= 0: individual stack level
///
///
/// C++:
/// imgui_internal.h:2300
///
int StackLevel
///
///
///
///
/// State for ID Stack tool queries
///
///
[FieldOffset(4)]
public int StackLevel;
///
///
/// ID to query details for
///
///
/// C++:
/// imgui_internal.h:2301
///
ImGuiID QueryId
///
///
///
///
/// State for ID Stack tool queries
///
///
[FieldOffset(8)]
public ImGuiID QueryId;
///
///
/// C++:
/// imgui_internal.h:2302
///
ImVector<ImGuiStackLevelInfo> Results
///
///
///
///
/// State for ID Stack tool queries
///
///
[FieldOffset(16)]
public ImVector Results;
///
///
/// C++:
/// imgui_internal.h:2303
///
bool CopyToClipboardOnCtrlC
///
///
///
///
/// State for ID Stack tool queries
///
///
[FieldOffset(32)]
public Bool8 CopyToClipboardOnCtrlC;
///
///
/// C++:
/// imgui_internal.h:2304
///
float CopyToClipboardLastTime
///
///
///
///
/// State for ID Stack tool queries
///
///
[FieldOffset(36)]
public float CopyToClipboardLastTime;
///
///
/// C++:
/// imgui_internal.h:2305
///
ImGuiTextBuffer ResultPathBuf
///
///
///
///
/// State for ID Stack tool queries
///
///
[FieldOffset(40)]
public ImGuiTextBuffer ResultPathBuf;
}
///
///
/// C++:
/// imgui_internal.h:2297
///
struct ImGuiIDStackTool
///
///
///
///
/// State for ID Stack tool queries
///
///
public unsafe partial struct ImGuiIDStackToolPtr(ImGuiIDStackTool* ptr) : INullable
{
private ImGuiIDStackTool* _ptr = ptr;
public ImGuiIDStackTool* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiIDStackToolPtr(ImGuiIDStackTool* ptr) => new(ptr);
public static implicit operator ImGuiIDStackTool*(ImGuiIDStackToolPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:2299
///
int LastActiveFrame
///
///
///
///
/// State for ID Stack tool queries
///
///
public ref int LastActiveFrame => ref Unsafe.AsRef(&_ptr->LastActiveFrame);
///
///
/// -1: query stack and resize Results, >= 0: individual stack level
///
///
/// C++:
/// imgui_internal.h:2300
///
int StackLevel
///
///
///
///
/// State for ID Stack tool queries
///
///
public ref int StackLevel => ref Unsafe.AsRef(&_ptr->StackLevel);
///
///
/// ID to query details for
///
///
/// C++:
/// imgui_internal.h:2301
///
ImGuiID QueryId
///
///
///
///
/// State for ID Stack tool queries
///
///
public ref ImGuiID QueryId => ref Unsafe.AsRef(&_ptr->QueryId);
///
///
/// C++:
/// imgui_internal.h:2302
///
ImVector<ImGuiStackLevelInfo> Results
///
///
///
///
/// State for ID Stack tool queries
///
///
public ref ImVector Results =>
ref Unsafe.AsRef>(&_ptr->Results);
///
///
/// C++:
/// imgui_internal.h:2303
///
bool CopyToClipboardOnCtrlC
///
///
///
///
/// State for ID Stack tool queries
///
///
public ref bool CopyToClipboardOnCtrlC => ref Unsafe.AsRef(&_ptr->CopyToClipboardOnCtrlC);
///
///
/// C++:
/// imgui_internal.h:2304
///
float CopyToClipboardLastTime
///
///
///
///
/// State for ID Stack tool queries
///
///
public ref float CopyToClipboardLastTime => ref Unsafe.AsRef(&_ptr->CopyToClipboardLastTime);
///
///
/// C++:
/// imgui_internal.h:2305
///
ImGuiTextBuffer ResultPathBuf
///
///
///
///
/// State for ID Stack tool queries
///
///
public ref ImGuiTextBuffer ResultPathBuf => ref Unsafe.AsRef(&_ptr->ResultPathBuf);
}
}