brutal/Brutal.ImGui/Generated/PInvoke/IsPopupOpen.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

35 lines
1.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>
/// return true if the popup is open.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L882">imgui.h:882</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L12573">imgui.cpp:12573</see>
/// <br/><c>bool IsPopupOpen(const char* str_id, ImGuiPopupFlags flags = 0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Popups: query functions
/// - IsPopupOpen(): return true if the popup is open at the current BeginPopup() level of the popup stack.
/// - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId: return true if any popup is open at the current BeginPopup() level of the popup stack.
/// - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId + ImGuiPopupFlags_AnyPopupLevel: return true if any popup is open.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial Bool8 IsPopupOpen(byte* str_id, ImGuiPopupFlags flags);
}
}
}