bevy/crates/bevy_render
andriyDev 8db7b6e122
Remove Shader weak_handles from bevy_render. (#19362)
# 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_render.

## Testing

- `animate_shader` 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-26 20:20:25 +00:00
..
macros Remove upcasting methods + Cleanup interned label code (#18984) 2025-05-26 15:38:12 +00:00
src Remove Shader weak_handles from bevy_render. (#19362) 2025-05-26 20:20:25 +00:00
Cargo.toml Update ktx2 to 0.4.0 (#19073) 2025-05-05 16:42:36 +00:00
LICENSE-APACHE
LICENSE-MIT
README.md

Bevy Render

License Crates.io Downloads Docs Discord