MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / GetMainViewport

Method GetMainViewport

include/imgui/imgui.cpp:15870–15874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15868}
15869
15870ImGuiViewport* ImGui::GetMainViewport()
15871{
15872 ImGuiContext& g = *GImGui;
15873 return g.Viewports[0];
15874}
15875
15876void ImGui::SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport)
15877{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected