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
| 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 |
| 4101 | ImGuiContext* ImGui::GetCurrentContext() |
| 4102 | { |
| 4103 | return GImGui; |
| 4104 | } |
| 4105 | |
| 4106 | void ImGui::SetCurrentContext(ImGuiContext* ctx) |
| 4107 | { |
nothing calls this directly
no outgoing calls
no test coverage detected