bevy/crates/bevy_ui
Kurt Kühnert ca85f6c903 Extract common RenderPhase code into render method (#7013)
# 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.
2022-12-27 03:29:59 +00:00
..
src Extract common RenderPhase code into render method (#7013) 2022-12-27 03:29:59 +00:00
Cargo.toml Upgrade to Taffy 0.2 (#6743) 2022-12-21 02:15:53 +00:00