mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 22:50:19 +00:00
ca85f6c903
# 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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |