bevy/crates/bevy_pbr/src
Robert Swain 5cb6f7ffd2 Do not create nor execute render passes which have no phase items to draw (#4643)
# Objective

- Creating and executing render passes has GPU overhead. If there are no phase items in the render phase to draw, then this overhead should not be incurred as it has no benefit.

## Solution

- Check if there are no phase items to draw, and if not, do not construct not execute the render pass

---

## Changelog

- Changed: Do not create nor execute empty render passes
2022-05-02 20:22:30 +00:00
..
render Do not create nor execute render passes which have no phase items to draw (#4643) 2022-05-02 20:22:30 +00:00
alpha.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
bundle.rs add Visibility for lights (#3958) 2022-03-05 03:23:01 +00:00
lib.rs Converted exclusive systems to parallel systems wherever possible (#2774) 2022-04-25 14:32:56 +00:00
light.rs bevy_pbr: Fix ClusterConfig::None (#4483) 2022-04-15 16:05:59 +00:00
material.rs Make MaterialPipelineKey<T> fields public (#4508) 2022-04-18 10:11:14 +00:00
pbr_material.rs Use storage buffers for clustered forward point lights (#3989) 2022-04-07 16:16:35 +00:00
wireframe.rs Rename transparent_phase to opaque_phase in wireframe.rs (#4639) 2022-05-02 04:11:55 +00:00