//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
///
///
/// You may also use SetNextWindowClass()'s FocusRouteParentWindowId field.
///
///
/// C++:
/// imgui_internal.h:3342
///
/// inline void SetWindowParentWindowForFocusRoute(ImGuiWindow* window, ImGuiWindow* parent_window)
///
///
///
///
/// Windows
/// We should always have a CurrentWindow in the stack (there is an implicit "Debug" window)
/// If this ever crashes because g.CurrentWindow is NULL, it means that either:
/// - ImGui::NewFrame() has never been called, which is illegal.
/// - You are calling ImGui functions after ImGui::EndFrame()/ImGui::Render() and before the next ImGui::NewFrame(), which is also illegal.
///
///
[LibraryImport("imgui")]
public static unsafe partial void SetWindowParentWindowForFocusRoute_internal(
ImGuiWindow* window,
ImGuiWindow* parent_window
);
}
}