//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// C++:
/// imgui.h:975
/// ,
/// imgui.cpp:20106
///
/// ImGuiID DockSpaceOverViewport(ImGuiID dockspace_id = 0, const ImGuiViewport* viewport = NULL, ImGuiDockNodeFlags flags = 0, const ImGuiWindowClass* window_class = NULL)
///
///
///
///
/// Docking
/// [BETA API] Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable.
/// Note: You can use most Docking facilities without calling any API. You DO NOT need to call DockSpace() to use Docking!
/// - Drag from window title bar or their tab to dock/undock. Hold SHIFT to disable docking.
/// - Drag from window menu button (upper-left button) to undock an entire node (all windows).
/// - When io.ConfigDockingWithShift == true, you instead need to hold SHIFT to enable docking.
/// About dockspaces:
/// - Use DockSpaceOverViewport() to create a window covering the screen or a specific viewport + a dockspace inside it.
/// This is often used with ImGuiDockNodeFlags_PassthruCentralNode to make it transparent.
/// - Use DockSpace() to create an explicit dock node _within_ an existing window. See Docking demo for details.
/// - Important: Dockspaces need to be submitted _before_ any window they can host. Submit it early in your frame!
/// - Important: Dockspaces need to be kept alive if hidden, otherwise windows docked into it will be undocked.
/// e.g. if you have multiple tabs with a dockspace inside each tab: submit the non-visible dockspaces with ImGuiDockNodeFlags_KeepAliveOnly.
///
///
/// Tips: Use with ImGuiDockNodeFlags_PassthruCentralNode!
/// The limitation with this call is that your window won't have a local menu bar, but you can also use BeginMainMenuBar().
/// Even though we could pass window flags, it would also require the user to be able to call BeginMenuBar() somehow meaning we can't Begin/End in a single function.
/// If you really want a menu bar inside the same window as the one hosting the dockspace, you will need to copy this code somewhere and tweak it.
///
///
[LibraryImport("imgui")]
public static unsafe partial ImGuiID DockSpaceOverViewport(
ImGuiID dockspace_id,
ImGuiViewport* viewport,
ImGuiDockNodeFlags flags,
ImGuiWindowClass* window_class
);
}
}
}