Getting the ImGuiContext #173
Unanswered
blacktorch
asked this question in
Q&A / Support
Replies: 1 comment
-
|
This changed. To create an "application GUI" you can now do this instead: auto imguiRenderer = RenderImGuiContext::create(window);
imguiRenderer->add(...);
app.install(imguiRenderer);And you can access the context with auto context = imguiRenderer->imguiContext(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I used to be able to get the ImGuiContext like this:
auto ImGuiGroup = rocky::ImGuiIntegration::addContextGroup(app.display, window);
context = ImGuiGroup->imguiContext();
ImGui::SetCurrentContext(context);
but it seems I can no longer do that. What is the current way of getting the Context.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions