![]() # Objective All `RenderPhases` follow the same render procedure. The same code is duplicated multiple times across the codebase. ## Solution I simply extracted this code into a method on the `RenderPhase`. This avoids code duplication and makes setting up new `RenderPhases` easier. --- ## Changelog ### Changed You can now set up the rendering code of a `RenderPhase` directly using the `RenderPhase::render` method, instead of implementing it manually in your render graph node. |
||
---|---|---|
.. | ||
bloom | ||
core_2d | ||
core_3d | ||
fullscreen_vertex_shader | ||
fxaa | ||
tonemapping | ||
upscaling | ||
clear_color.rs | ||
lib.rs |