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

Method GetCurrentContext

include/imgui/imgui.cpp:4101–4104  ·  view source on GitHub ↗

Internal state access - if you want to share Dear ImGui state between modules (e.g. DLL) or allocate it yourself Note that we still point to some static data and members (such as GFontAtlas), so the state instance you end up using will point to the static data within its module

Source from the content-addressed store, hash-verified

4099// Internal state access - if you want to share Dear ImGui state between modules (e.g. DLL) or allocate it yourself
4100// Note that we still point to some static data and members (such as GFontAtlas), so the state instance you end up using will point to the static data within its module
4101ImGuiContext* ImGui::GetCurrentContext()
4102{
4103 return GImGui;
4104}
4105
4106void ImGui::SetCurrentContext(ImGuiContext* ctx)
4107{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected