bevy/crates/bevy_ui_render/src
andriyDev 29779e1e18
Use RenderStartup in bevy_ui. (#19901)
# Objective

- Progress towards #19887.

## Solution

- Convert `FromWorld` impls into systems that run in `RenderStartup`.
- Move `UiPipeline` init to `build_ui_render` instead of doing it
separately in `finish`.

Note: I am making several of these systems pub so that users could order
their systems relative to them. This is to match the fact that these
types previously were FromWorld so users could initialize them.

## Testing

- Ran `ui_material`, `ui_texture_slice`, `box_shadow`, and `gradients`
examples and it still worked.
2025-07-05 04:07:23 +00:00
..
box_shadow.rs Use RenderStartup in bevy_ui. (#19901) 2025-07-05 04:07:23 +00:00
box_shadow.wgsl
debug_overlay.rs
gradient.rs Use RenderStartup in bevy_ui. (#19901) 2025-07-05 04:07:23 +00:00
gradient.wgsl
lib.rs Use RenderStartup in bevy_ui. (#19901) 2025-07-05 04:07:23 +00:00
pipeline.rs Use RenderStartup in bevy_ui. (#19901) 2025-07-05 04:07:23 +00:00
render_pass.rs
ui_material_pipeline.rs Use RenderStartup in bevy_ui. (#19901) 2025-07-05 04:07:23 +00:00
ui_material.rs
ui_material.wgsl
ui_texture_slice_pipeline.rs Use RenderStartup in bevy_ui. (#19901) 2025-07-05 04:07:23 +00:00
ui_texture_slice.wgsl
ui_vertex_output.wgsl
ui.wgsl