//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:1756
///
struct ImGuiFocusScopeData
///
///
///
///
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
///
///
[StructLayout(LayoutKind.Explicit, Size = 8)]
public partial struct ImGuiFocusScopeData
{
///
///
/// C++:
/// imgui_internal.h:1758
///
ImGuiID ID
///
///
///
///
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// C++:
/// imgui_internal.h:1759
///
ImGuiID WindowID
///
///
///
///
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
///
///
[FieldOffset(4)]
public ImGuiID WindowID;
}
///
///
/// C++:
/// imgui_internal.h:1756
///
struct ImGuiFocusScopeData
///
///
///
///
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
///
///
public unsafe partial struct ImGuiFocusScopeDataPtr(ImGuiFocusScopeData* ptr) : INullable
{
private ImGuiFocusScopeData* _ptr = ptr;
public ImGuiFocusScopeData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiFocusScopeDataPtr(ImGuiFocusScopeData* ptr) => new(ptr);
public static implicit operator ImGuiFocusScopeData*(ImGuiFocusScopeDataPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:1758
///
ImGuiID ID
///
///
///
///
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// C++:
/// imgui_internal.h:1759
///
ImGuiID WindowID
///
///
///
///
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
///
///
public ref ImGuiID WindowID => ref Unsafe.AsRef(&_ptr->WindowID);
}
}