mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
0df3d7f586
# Objective `ExtractedUiNodes` is cleared by the `extract_uinodes` function during the extraction schedule. Because the Bevy UI renderer uses a painters algorithm, this makes it impossible for users to create a custom extraction function that adds items for a node to be drawn behind the rectangle added by `extract_uniodes`. ## Solution Drain `ExtractedUiNodes` in `prepare_ui_nodes` instead, after the extraction schedule has finished. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |