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

35 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>
/// return primary/default viewport. This can never be NULL.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1052">imgui.h:1052</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L16170">imgui.cpp:16170</see>
/// <br/><c>ImGuiViewport* GetMainViewport()</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Viewports
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - In 'docking' branch with multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial ImGuiViewport* GetMainViewport();
}
}
}