mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
36 lines
1.5 KiB
C#
36 lines
1.5 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#L3333">imgui_internal.h:3333</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L8711">imgui.cpp:8711</see>
|
|
/// <br/>
|
|
/// <c>bool IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent, bool popup_hierarchy, bool dock_hierarchy)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Windows
|
|
/// We should always have a CurrentWindow in the stack (there is an implicit "Debug" window)
|
|
/// If this ever crashes because g.CurrentWindow is NULL, it means that either:
|
|
/// - ImGui::NewFrame() has never been called, which is illegal.
|
|
/// - You are calling ImGui functions after ImGui::EndFrame()/ImGui::Render() and before the next ImGui::NewFrame(), which is also illegal.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial Bool8 IsWindowChildOf_internal(
|
|
ImGuiWindow* window,
|
|
ImGuiWindow* potential_parent,
|
|
Bool8 popup_hierarchy,
|
|
Bool8 dock_hierarchy
|
|
);
|
|
}
|
|
}
|