bevy/crates/bevy_render/src/view
Torstein Grindvik 38766faccb Refactor Globals and View structs into separate shaders (#7512)
fixes #6799 

# Objective

We should be able to reuse the `Globals` or `View` shader struct definitions from anywhere (including third party plugins) without needing to worry about defining unrelated shader defs.
Also we'd like to refactor these structs to not be repeatedly defined.

## Solution

Refactor both `Globals` and `View` into separate importable shaders.
Use the imports throughout.

Co-authored-by: Torstein Grindvik <52322338+torsteingrindvik@users.noreply.github.com>
2023-02-11 17:55:18 +00:00
..
visibility put update_frusta::<Projection> in UpdateProjectionFrusta set (#7526) 2023-02-06 20:34:53 +00:00
mod.rs Refactor Globals and View structs into separate shaders (#7512) 2023-02-11 17:55:18 +00:00
view.wgsl Refactor Globals and View structs into separate shaders (#7512) 2023-02-11 17:55:18 +00:00
window.rs use better set inheritance in render systems (#7524) 2023-02-06 21:57:59 +00:00