bevy/examples/3d
Rob Parrett 7da144bc3d
Refactor tonemapping example's image viewer update into two systems (#11519)
# Objective

Alternative to #11515.

Fixes change detection being triggered on the "image viewer image
material" every frame.

## Solution

- Split the megasystem into two separate systems: one to handle drop
events, and one to handle asset change events.
- Move the event reader iteration "outside." so that we're only doing
stuff when there are events.
- Flatten some of the more extreme nesting
- Other bits of cleanup, removing an unnecessary clone and unused
variable.

I think these systems can even run in parallel now, not that it
particularly matters.
2024-01-27 16:06:34 +00:00
..
3d_gizmos.rs Use Direction3d for gizmos.circle normal (#11422) 2024-01-21 18:03:26 +00:00
3d_scene.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
3d_shapes.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
3d_viewport_to_world.rs Use Direction3d for gizmos.circle normal (#11422) 2024-01-21 18:03:26 +00:00
animated_material.rs Add Animated Material example (#11524) 2024-01-26 13:34:46 +00:00
anti_aliasing.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
atmospheric_fog.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
blend_modes.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
bloom_3d.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
deferred_rendering.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
deterministic.rs Cleanup deterministic example (#11416) 2024-01-19 06:08:19 +00:00
fog.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
generate_custom_mesh.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
lighting.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
lightmaps.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
lines.rs Use impl Into<A> for Assets::add (#10878) 2024-01-08 22:14:43 +00:00
load_gltf.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
orthographic.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
parallax_mapping.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
parenting.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
pbr.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
reflection_probes.rs Implement minimal reflection probes (fixed macOS, iOS, and Android). (#11366) 2024-01-19 07:33:52 +00:00
render_to_texture.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
shadow_biases.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
shadow_caster_receiver.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
skybox.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
spherical_area_lights.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
split_screen.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
spotlight.rs Meshlet prep (#11442) 2024-01-22 15:28:33 +00:00
ssao.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
texture.rs Use impl Into<A> for Assets::add (#10878) 2024-01-08 22:14:43 +00:00
tonemapping.rs Refactor tonemapping example's image viewer update into two systems (#11519) 2024-01-27 16:06:34 +00:00
transmission.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
transparency_3d.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
two_passes.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
update_gltf_scene.rs Meshlet prep (#11442) 2024-01-22 15:28:33 +00:00
vertex_colors.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00
wireframe.rs Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00