bevy/crates/bevy_ui/src/render
Asier Illarramendi 718688e791
Use stack_z_offsets in all the cases we create a TransparentUi (#16197)
# Objective

Use same pattern when creating `TransparentUi` items where the
`sort_key` is the `UiNode` stack index + some offset.

## Solution

Refactored to follow same pattern.

## Testing

Ran few UI examples.

## Doubts

Maybe `stack_z_offsets::BACKGROUND_COLOR` should be renamed. This is
used for `ExtractedUiNode`, which is not only used for "background
color" it's also used to render borders, images and text (I think).
2024-11-04 22:18:41 +00:00
..
box_shadow.rs Use stack_z_offsets in all the cases we create a TransparentUi (#16197) 2024-11-04 22:18:41 +00:00
box_shadow.wgsl Remove the Globals binding from the box shadow shader (#16177) 2024-10-30 20:06:15 +00:00
mod.rs Use stack_z_offsets in all the cases we create a TransparentUi (#16197) 2024-11-04 22:18:41 +00:00
pipeline.rs UI borders and outlines clipping fix (#16044) 2024-10-21 22:54:09 +00:00
render_pass.rs Type safe retained render world (#15756) 2024-10-10 18:47:04 +00:00
ui_material_pipeline.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00
ui_material.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
ui_texture_slice_pipeline.rs Use stack_z_offsets in all the cases we create a TransparentUi (#16197) 2024-11-04 22:18:41 +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 Include UI node size in the vertex inputs for UiMaterial. (#11722) 2024-02-06 16:15:09 +00:00
ui.wgsl UI borders and outlines clipping fix (#16044) 2024-10-21 22:54:09 +00:00