Skip to content
Discussion options

You must be logged in to vote

It's a bit overly complicated :) You have to find a vsg::View and set the clear values on its RenderGraph.
In the demo, after the call to app.displayManager->addWindow, do this:

    auto view = app.displayManager->windowsAndViews[rocky_window->windowAdapter].front();
    app.displayManager->getRenderGraph(view)->setClearValues({ VkClearColorValue{ 0.0f, 0.0f, 0.0f, 1.0f } });

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@blacktorch
Comment options

Answer selected by blacktorch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants