bevy/crates/bevy_render/src
JoJoJet 456971381c Resolve most remaining execution-order ambiguities (#6341)
# Objective

Bevy's internal plugins have lots of execution-order ambiguities, which makes the ambiguity detection tool very noisy for our users.

## Solution

Silence every last ambiguity that can currently be resolved.
Each time an ambiguity is silenced, it is accompanied by a comment describing why it is correct. This description should be based on the public API of the respective systems. Thus, I have added documentation to some systems describing how they use some resources.

# Future work

Some ambiguities remain, due to issues out of scope for this PR. 

* The ambiguity checker does not respect `Without<>` filters, leading to false positives.
* Ambiguities between `bevy_ui` and `bevy_animation` cannot be resolved, since neither crate knows that the other exists. We will need a general solution to this problem.
2022-10-27 12:56:03 +00:00
..
camera Resolve most remaining execution-order ambiguities (#6341) 2022-10-27 12:56:03 +00:00
color
mesh
primitives
render_graph
render_phase
render_resource
renderer
texture
view Resolve most remaining execution-order ambiguities (#6341) 2022-10-27 12:56:03 +00:00
extract_component.rs
extract_param.rs
extract_resource.rs
globals.rs
lib.rs
rangefinder.rs
render_asset.rs
settings.rs
spatial_bundle.rs