# 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). |
||
|---|---|---|
| .. | ||
| box_shadow.rs | ||
| box_shadow.wgsl | ||
| mod.rs | ||
| pipeline.rs | ||
| render_pass.rs | ||
| ui_material_pipeline.rs | ||
| ui_material.wgsl | ||
| ui_texture_slice_pipeline.rs | ||
| ui_texture_slice.wgsl | ||
| ui_vertex_output.wgsl | ||
| ui.wgsl | ||