mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
43 lines
2.9 KiB
C#
43 lines
2.9 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#L3662">imgui_internal.h:3662</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L20229">imgui.cpp:20229</see>
|
|
/// <br/><c>ImGuiID DockBuilderAddNode(ImGuiID node_id = 0, ImGuiDockNodeFlags flags = 0)</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>
|
|
/// <code>
|
|
/// Make sure to use the ImGuiDockNodeFlags_DockSpace flag to create a dockspace node! Otherwise this will create a floating node!
|
|
/// - Floating node: you can then call DockBuilderSetNodePos()/DockBuilderSetNodeSize() to position and size the floating node.
|
|
/// - Dockspace node: calling DockBuilderSetNodePos() is unnecessary.
|
|
/// - If you intend to split a node immediately after creation using DockBuilderSplitNode(), make sure to call DockBuilderSetNodeSize() beforehand!
|
|
/// For various reason, the splitting code currently needs a base size otherwise space may not be allocated as precisely as you would expect.
|
|
/// - Use (id == 0) to let the system allocate a node identifier.
|
|
/// - Existing node with a same id will be removed.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial ImGuiID DockBuilderAddNode_internal(ImGuiID node_id, ImGuiDockNodeFlags flags);
|
|
}
|
|
}
|