# 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. |
||
|---|---|---|
| .. | ||
| color_material.rs | ||
| color_material.wgsl | ||
| material.rs | ||
| mesh2d_bindings.wgsl | ||
| mesh2d_functions.wgsl | ||
| mesh2d_types.wgsl | ||
| mesh2d_vertex_output.wgsl | ||
| mesh2d_view_bindings.wgsl | ||
| mesh2d_view_types.wgsl | ||
| mesh2d.wgsl | ||
| mesh.rs | ||
| mod.rs | ||
| wireframe2d.rs | ||
| wireframe2d.wgsl | ||