//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
///
///
/// C++:
/// imgui_internal.h:3384
/// ,
/// imgui.cpp:6237
///
/// void FindHoveredWindowEx(const ImVec2& pos, bool find_first_and_in_any_viewport, ImGuiWindow** out_hovered_window, ImGuiWindow** out_hovered_window_under_moving_window)
///
///
///
///
/// NewFrame
///
///
/// Find window given position, search front-to-back
/// - Typically write output back to g.HoveredWindow and g.HoveredWindowUnderMovingWindow.
/// - FIXME: Note that we have an inconsequential lag here: OuterRectClipped is updated in Begin(), so windows moved programmatically
/// with SetWindowPos() and not SetNextWindowPos() will have that rectangle lagging by a frame at the time FindHoveredWindow() is
/// called, aka before the next Begin(). Moving window isn't affected.
/// - The 'find_first_and_in_any_viewport = true' mode is only used by TestEngine. It is simpler to maintain here.
///
///
[LibraryImport("imgui")]
public static unsafe partial void FindHoveredWindowEx_internal(
float2* pos,
Bool8 find_first_and_in_any_viewport,
ImGuiWindow** out_hovered_window,
ImGuiWindow** out_hovered_window_under_moving_window
);
}
}