MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / GetWindowViewport

Method GetWindowViewport

imgui_tiny_app/imgui/imgui.cpp:9323–9328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9321}
9322
9323ImGuiViewport* ImGui::GetWindowViewport()
9324{
9325 ImGuiContext& g = *GImGui;
9326 IM_ASSERT(g.CurrentViewport != NULL && g.CurrentViewport == g.CurrentWindow->Viewport);
9327 return g.CurrentViewport;
9328}
9329
9330ImFont* ImGui::GetFont()
9331{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected