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

37 lines
1.5 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>
/// this is a helper for backends.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1177">imgui.h:1177</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L16177">imgui.cpp:16177</see>
/// <br/><c>ImGuiViewport* FindViewportByID(ImGuiID id)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Optional) Platform/OS interface for multi-viewport support
/// Read comments around the ImGuiPlatformIO structure for more details.
/// Note: You may use GetWindowViewport() to get the current viewport of the current window.
/// </code>
/// <para>
/// FIXME: This leaks access to viewports not listed in PlatformIO.Viewports[]. Problematic? (#4236)
/// </para>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial ImGuiViewport* FindViewportByID(ImGuiID id);
}
}
}