bevy/crates/bevy_sprite/src
andriyDev dc6563477d
Remove Shader weak_handles from bevy_sprite. (#19392)
# Objective

- Related to #19024

## Solution

- Use the new `load_shader_library` macro for the shader libraries and
`embedded_asset`/`load_embedded_asset` for the "shader binaries" in
`bevy_sprite`.

## Testing

- `sprite` example still works.
- `mesh2d` example still works.

P.S. I don't think this needs a migration guide. Technically users could
be using the `pub` weak handles, but there's no actual good use for
them, so omitting it seems fine. Alternatively, we could mix this in
with the migration guide notes for #19137.
2025-05-27 04:01:34 +00:00
..
mesh2d Remove Shader weak_handles from bevy_sprite. (#19392) 2025-05-27 04:01:34 +00:00
render Remove Shader weak_handles from bevy_sprite. (#19392) 2025-05-27 04:01:34 +00:00
texture_slice Fix Anchor component inconsistancies (#18393) 2025-05-21 15:32:04 +00:00
lib.rs Remove Shader weak_handles from bevy_sprite. (#19392) 2025-05-27 04:01:34 +00:00
picking_backend.rs Fix Anchor component inconsistancies (#18393) 2025-05-21 15:32:04 +00:00
sprite.rs Fix Anchor component inconsistancies (#18393) 2025-05-21 15:32:04 +00:00