bevy/crates/bevy_core_pipeline/src
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
..
bloom Add try_* to add_slot_edge, add_node_edge (#6720) 2022-11-21 21:58:39 +00:00
core_2d Extract common RenderPhase code into render method (#7013) 2022-12-27 03:29:59 +00:00
core_3d Extract common RenderPhase code into render method (#7013) 2022-12-27 03:29:59 +00:00
fullscreen_vertex_shader separate tonemapping and upscaling passes (#3425) 2022-10-26 20:13:59 +00:00
fxaa Shader defs can now have a value (#5900) 2022-11-21 22:38:29 +00:00
tonemapping Fix missing sRGB conversion for dithering non-HDR pipelines (#6707) 2022-11-22 15:55:50 +00:00
upscaling Make Core Pipeline Graph Nodes Public (#6605) 2022-11-18 22:16:55 +00:00
clear_color.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
lib.rs Bloom (#6397) 2022-11-04 01:34:12 +00:00