Skip to content

Multipass rendering #1416

Answered by robertosfield
nolankramer asked this question in Q&A

You must be logged in to vote

Have a look at the vsgstateswitch example:

https://github.com/vsg-dev/vsgExamples/blob/master/examples/state/vsgstateswitch/vsgstateswitch.cpp

This inserts vsg::StateSwitch into vsg::StateGroup to enable to select between different variants of state such as BindGraphicsPipeline. In the example is creates two views, one that renders the scene as loaded, then a second view as wireframe.

Replies: 1 comment

You must be logged in to vote
0 replies
Answer selected by robertosfield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants