~tmayoff/wren#8: 
Improve rendergraph

Don't prebuild a rendergraph in the renderer. Let the application build the graph, add an explicit transition to the output framebuffer in the graph. Hash the pass resources to check for existing passes that use the same resources.

This work should allow for an easy process to add a UI pass to the application #7.

Status
RESOLVED CLOSED
Submitter
~tmayoff
Assigned to
No-one
Submitted
9 months ago
Updated
9 months ago
Labels
feature 🚀

~tmayoff 9 months ago

Work has been made on this, PassResources now accepts a name rather than a render target. The name links to render_targets stored in the renderer. When compiling the graph names are resolved into their concrete images.

Something else to add, when a name isn't found, we should generate a new image based on the information provided: size, format, etc...

~tmayoff referenced this from #7 9 months ago

~tmayoff REPORTED CLOSED 9 months ago

Register here or Log in to comment, or comment via email.