mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
45 lines
2.6 KiB
C#
45 lines
2.6 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
public partial class ImGui
|
|
{
|
|
public unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// set next window class (control docking compatibility + provide hints to platform backend via custom
|
|
/// viewport flags and platform parent/child relationship)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L977">imgui.h:977</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9052">imgui.cpp:9052</see>
|
|
/// <br/><c>void SetNextWindowClass(const ImGuiWindowClass* window_class)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void SetNextWindowClass(ImGuiWindowClass* window_class);
|
|
}
|
|
}
|
|
}
|