bevy/crates/bevy_render/src
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
..
batching clippy: expect large variants and other small fixes (#19222) 2025-05-15 22:29:59 +00:00
camera Split Camera.hdr out into a new component (#18873) 2025-05-26 19:24:45 +00:00
diagnostic Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
experimental Remove Shader weak_handles from bevy_render. (#19362) 2025-05-26 20:20:25 +00:00
mesh clippy: expect large variants and other small fixes (#19222) 2025-05-15 22:29:59 +00:00
primitives reexport entity set collections in entity module (#18413) 2025-03-30 03:51:14 +00:00
render_graph Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
render_phase Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
render_resource refactor(render): cleanup add_import_to_composer (#19269) 2025-05-18 06:30:38 +00:00
renderer Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
texture Optional explicit compressed image format support (#19190) 2025-05-26 18:00:33 +00:00
view Remove Shader weak_handles from bevy_render. (#19362) 2025-05-26 20:20:25 +00:00
alpha.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
bindless.wgsl
color_operations.wgsl
extract_component.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
extract_instances.rs
extract_param.rs Improve error message for missing resources (#18593) 2025-03-30 02:38:17 +00:00
extract_resource.rs
globals.rs Remove Shader weak_handles from bevy_render. (#19362) 2025-05-26 20:20:25 +00:00
globals.wgsl
gpu_component_array_buffer.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
gpu_readback.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
lib.rs Optional explicit compressed image format support (#19190) 2025-05-26 18:00:33 +00:00
maths.wgsl
pipelined_rendering.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
render_asset.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
settings.rs clippy: expect large variants and other small fixes (#19222) 2025-05-15 22:29:59 +00:00
storage.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
sync_component.rs
sync_world.rs Register some types (#19361) 2025-05-26 02:30:07 +00:00