Graphics: Rework RenderTargets
- RenderTarget have been moved to the Graphics module and are now lightweight objects between the target of rendering (swapchain or texture) - RenderTexture no longer require a blit between the framegraph texture and the target texture (the target texture is now directly rendered onto using a new feature of the framegraph) - ForwardFramePipeline viewers are now properly ordered by render order
This commit is contained in:
@@ -1037,7 +1037,7 @@ int main(int argc, char* argv[])
|
||||
builder.Draw(3);
|
||||
});
|
||||
|
||||
graph.MarkAsFinalOutput(toneMappingOutput);
|
||||
graph.AddBackbufferOutput(toneMappingOutput);
|
||||
|
||||
return graph.Bake();
|
||||
}();
|
||||
|
||||
Reference in New Issue
Block a user