bevy/crates/bevy_ui/src/render
andriyDev e8c2a5af66
Remove Shader weak_handles from bevy_ui. (#19393)
# 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_ui`.

## Testing

- `box_shadow` example still works.
- `gradient` example is broken at head (see #19384) - but otherwise
gives the same result in the console.
- `ui_materials` example still works.
- `ui_texture_slice` 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 22:32:40 +00:00
..
box_shadow.rs Remove Shader weak_handles from bevy_ui. (#19393) 2025-05-27 22:32:40 +00:00
box_shadow.wgsl Remove the Globals binding from the box shadow shader (#16177) 2024-10-30 20:06:15 +00:00
debug_overlay.rs separate border colors (#18682) 2025-05-26 16:57:13 +00:00
gradient.rs Remove Shader weak_handles from bevy_ui. (#19393) 2025-05-27 22:32:40 +00:00
gradient.wgsl Fix error in gradient shader (#19384) 2025-05-27 21:29:10 +00:00
mod.rs Remove Shader weak_handles from bevy_ui. (#19393) 2025-05-27 22:32:40 +00:00
pipeline.rs Remove Shader weak_handles from bevy_ui. (#19393) 2025-05-27 22:32:40 +00:00
render_pass.rs Remove the entity index from the UI phase's sort key (#18273) 2025-03-12 17:11:02 +00:00
ui_material_pipeline.rs Remove Shader weak_handles from bevy_ui. (#19393) 2025-05-27 22:32:40 +00:00
ui_material.wgsl UI material border radius (#15171) 2025-01-28 04:54:48 +00:00
ui_texture_slice_pipeline.rs Remove Shader weak_handles from bevy_ui. (#19393) 2025-05-27 22:32:40 +00:00
ui_texture_slice.wgsl Fix some duplicate words in docs/comments (#15980) 2024-10-20 01:03:27 +00:00
ui_vertex_output.wgsl UI material border radius (#15171) 2025-01-28 04:54:48 +00:00
ui.wgsl separate border colors (#18682) 2025-05-26 16:57:13 +00:00