bevy/crates/bevy_sprite/src/mesh2d
Brian Reavis 438217035d
Don’t prepare 2D view bind groups for 3D cameras (#14481)
# Objective

- Before this fix, the view query in `prepare_mesh2d_view_bind_groups`
matched all views – leading to 2D view bind groups being prepared for 3D
cameras.

## Solution

- Added `With<Camera2d>` to the views query.

## Testing

- Verified the examples still work.
2024-07-25 20:37:54 +00:00
..
color_material.rs Add from_color to StandardMaterial and ColorMaterial (#13791) 2024-06-10 21:25:31 +00:00
color_material.wgsl Swap material and mesh bind groups (#10485) 2023-11-28 22:26:22 +00:00
material.rs Don't ignore draw errors (#13240) 2024-07-22 19:22:30 +00:00
mesh.rs Don’t prepare 2D view bind groups for 3D cameras (#14481) 2024-07-25 20:37:54 +00:00
mesh2d.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
mesh2d_bindings.wgsl Swap material and mesh bind groups (#10485) 2023-11-28 22:26:22 +00:00
mesh2d_functions.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
mesh2d_types.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
mesh2d_vertex_output.wgsl pbr shader cleanup (#10105) 2023-10-13 19:12:40 +00:00
mesh2d_view_bindings.wgsl add tonemapping LUT bindings for sprite and mesh2d pipelines (#13262) 2024-05-28 12:09:26 +00:00
mesh2d_view_types.wgsl Refactor Globals and View structs into separate shaders (#7512) 2023-02-11 17:55:18 +00:00
mod.rs Support wireframes for 2D meshes (#12135) 2024-03-29 18:34:04 +00:00
wireframe2d.rs Support wireframes for 2D meshes (#12135) 2024-03-29 18:34:04 +00:00
wireframe2d.wgsl Support wireframes for 2D meshes (#12135) 2024-03-29 18:34:04 +00:00