//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:1408
///
struct ImGuiWindowStackData
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
[StructLayout(LayoutKind.Explicit, Size = 120)]
public partial struct ImGuiWindowStackData
{
///
///
/// C++:
/// imgui_internal.h:1410
///
ImGuiWindow* Window
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
[FieldOffset(0)]
public ImGuiWindowPtr Window;
///
///
/// C++:
/// imgui_internal.h:1411
///
ImGuiLastItemData ParentLastItemDataBackup
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
[FieldOffset(8)]
public ImGuiLastItemData ParentLastItemDataBackup;
///
///
/// Store size of various stacks for asserting
///
///
/// C++:
/// imgui_internal.h:1412
///
ImGuiErrorRecoveryState StackSizesInBegin
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
[FieldOffset(88)]
public ImGuiErrorRecoveryState StackSizesInBegin;
///
///
/// Non-child window override disabled flag
///
///
/// C++:
/// imgui_internal.h:1413
///
bool DisabledOverrideReenable
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
[FieldOffset(110)]
public Bool8 DisabledOverrideReenable;
///
///
/// C++:
/// imgui_internal.h:1414
///
float DisabledOverrideReenableAlphaBackup
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
[FieldOffset(112)]
public float DisabledOverrideReenableAlphaBackup;
}
///
///
/// C++:
/// imgui_internal.h:1408
///
struct ImGuiWindowStackData
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
public unsafe partial struct ImGuiWindowStackDataPtr(ImGuiWindowStackData* ptr) : INullable
{
private ImGuiWindowStackData* _ptr = ptr;
public ImGuiWindowStackData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiWindowStackDataPtr(ImGuiWindowStackData* ptr) => new(ptr);
public static implicit operator ImGuiWindowStackData*(ImGuiWindowStackDataPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:1410
///
ImGuiWindow* Window
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&_ptr->Window);
///
///
/// C++:
/// imgui_internal.h:1411
///
ImGuiLastItemData ParentLastItemDataBackup
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
public ref ImGuiLastItemData ParentLastItemDataBackup =>
ref Unsafe.AsRef(&_ptr->ParentLastItemDataBackup);
///
///
/// Store size of various stacks for asserting
///
///
/// C++:
/// imgui_internal.h:1412
///
ImGuiErrorRecoveryState StackSizesInBegin
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
public ref ImGuiErrorRecoveryState StackSizesInBegin =>
ref Unsafe.AsRef(&_ptr->StackSizesInBegin);
///
///
/// Non-child window override disabled flag
///
///
/// C++:
/// imgui_internal.h:1413
///
bool DisabledOverrideReenable
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
public ref bool DisabledOverrideReenable => ref Unsafe.AsRef(&_ptr->DisabledOverrideReenable);
///
///
/// C++:
/// imgui_internal.h:1414
///
float DisabledOverrideReenableAlphaBackup
///
///
///
///
/// Data saved for each window pushed into the stack
///
///
public ref float DisabledOverrideReenableAlphaBackup =>
ref Unsafe.AsRef(&_ptr->DisabledOverrideReenableAlphaBackup);
}
}