bevy/pipelined
Daniel McNab 5fe73be2b5 Sprite change image (#3207)
# Objective

- Changing the underlying image would not update a sprite

## Solution

- 'Detect' if the underlying image changes to update the sprite

Currently, we don't support change detection on `RenderAssets`, so we have to manually check it. 
This method at least maintains the bind groups when the image isn't changing. They were cached, so I assume that's important.

This gives us correct behaviour here.

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2021-12-01 23:09:31 +00:00
..
bevy_core_pipeline Add support for opaque, alpha mask, and alpha blend modes (#3072) 2021-11-16 03:03:27 +00:00
bevy_gltf2 Faster gltf loader (re-merge of #3165) (#3189) 2021-11-25 16:35:50 +00:00
bevy_pbr2 fix calls to as_rgba_linear (#3200) 2021-11-28 10:40:42 +00:00
bevy_render2 Sprite change image (#3207) 2021-12-01 23:09:31 +00:00
bevy_sprite2 Sprite change image (#3207) 2021-12-01 23:09:31 +00:00