brutal/brutal.imgui/Brutal.ImGui/Generated-Internal/PInvoke/DockBuilderCopyDockSpace_internal.gen.cs
2026-10-15 14:12:02 +13:00

43 lines
2.4 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3669">imgui_internal.h:3669</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L20490">imgui.cpp:20490</see>
/// <br/>
/// <c>void DockBuilderCopyDockSpace(ImGuiID src_dockspace_id, ImGuiID dst_dockspace_id, ImVector&lt;const char*&gt;* in_window_remap_pairs)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Docking - Builder function needs to be generally called before the node is used/submitted.
/// - The DockBuilderXXX functions are designed to _eventually_ become a public API, but it is too early to expose it and guarantee stability.
/// - Do not hold on ImGuiDockNode* pointers! They may be invalidated by any split/merge/remove operation and every frame.
/// - To create a DockSpace() node, make sure to set the ImGuiDockNodeFlags_DockSpace flag when calling DockBuilderAddNode().
/// You can create dockspace nodes (attached to a window) _or_ floating nodes (carry its own window) with this API.
/// - DockBuilderSplitNode() create 2 child nodes within 1 node. The initial node becomes a parent node.
/// - If you intend to split the node immediately after creation using DockBuilderSplitNode(), make sure
/// to call DockBuilderSetNodeSize() beforehand. If you don't, the resulting split sizes may not be reliable.
/// - Call DockBuilderFinish() after you are done.
/// </code>
/// <para>
/// FIXME: Will probably want to change this signature, in particular how the window remapping pairs are
/// passed.
/// </para>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void DockBuilderCopyDockSpace_internal(
ImGuiID src_dockspace_id,
ImGuiID dst_dockspace_id,
ImVector<Ptr<byte>>* in_window_remap_pairs
);
}
}