![]() 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> |
||
---|---|---|
.. | ||
mesh2d | ||
render | ||
bundle.rs | ||
collide_aabb.rs | ||
dynamic_texture_atlas_builder.rs | ||
lib.rs | ||
sprite.rs | ||
texture_atlas_builder.rs | ||
texture_atlas.rs |