mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 02:53:07 +00:00
5fe73be2b5
# 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> |
||
---|---|---|
.. | ||
render | ||
bundle.rs | ||
dynamic_texture_atlas_builder.rs | ||
lib.rs | ||
rect.rs | ||
sprite.rs | ||
texture_atlas.rs | ||
texture_atlas_builder.rs |