bevy/pipelined/bevy_sprite2/src/render
Zicklag cea7db1050 Remove Need for Sprite Size Sync System (#2632)
# Objective

- Prevent the need to have a system that synchronizes sprite sizes with their images

## Solution

- Read the sprite size from the image asset when rendering the sprite
- Replace the `size` and `resize_mode` fields of `Sprite` with a `custom_size: Option<Vec2>` that will modify the sprite's rendered size to be different than the image size, but only if it is `Some(Vec2)`
2021-08-26 00:53:51 +00:00
..
mod.rs Remove Need for Sprite Size Sync System (#2632) 2021-08-26 00:53:51 +00:00
sprite.frag add glsl support 2021-07-24 16:43:37 -07:00
sprite.vert add glsl support 2021-07-24 16:43:37 -07:00
sprite.wgsl Begin WGSL port (sprites work, pbr lights are broken) 2021-07-24 16:43:37 -07:00