// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// return primary/default viewport. This can never be NULL. /// /// /// C++: /// imgui.h:1052 /// , /// imgui.cpp:16170 ///
ImGuiViewport* GetMainViewport() ///
///
/// /// /// 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. /// /// [LibraryImport("imgui")] public static unsafe partial ImGuiViewport* GetMainViewport(); } } }