Replies: 1 comment 1 reply
-
What is likely happening is the scene graph's GraphicsPipeline has built a vkPipeline for the original View's viewport dimensions but you've got rid of it and replaced it with a new View with new viewport dimensions but without rebuild the vkPipeline objects. The vsgmultiviews example doesn't do exactly what you want but it does have some code that swaps the ViewportState and updates the pipelines so perhaps this might be a help if figuring out exactly what you need to do in your usage case: https://github.com/vsg-dev/vsgExamples/blob/master/examples/app/vsgmultiviews/vsgmultiviews.cpp#L39 |
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
-
Let's say i started some vsg app and created View. When i want to delete this view. I'm doing it with the next steps:
After this steps, no View is displaying in window. But then i am creating new View object on different location of the screen, assign ClearAttachments and new ViewportState. And there is a problem - ClearAttachments is on the right place, but actual render is on location of previous View.
Is VSG support View deleting in runtime, or what i am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions