Can Views Be Removed Dynamically in the vsgdynamicviews Example? #1537
Unanswered
xiaoxin0214
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I am not sure whether I've tried removing windows with standard VSG windowing classes, I have done it with vsgQt based apps so it should work fine, though off the top of my head I can't point you to the exact code to call. Essentially, you'll want to stop the main loop, wait for any on the Vulkan devices to complete using Viewer::deviceWaitIdle(), make the changes to viewer then continue the rendering loop. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
In the vsgdynamicviews example, we can dynamically add views to the window.
My question is — can we also remove views dynamically at runtime?
If so, what would be the proper way to do this using the VSG API?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions