mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
3df281ba7b
# Objective - Prepare `TextPipeline` to work with multi-entity text blocks. See https://github.com/bevyengine/bevy/discussions/15014 ## Solution - Refactor `TextPipeline::update_buffer` to accept an iterator instead of slice. Adjust `update_buffer` implementation to only iterate spans once instead of three times (which would require iterating a hierarchy three times with multi-entity blocks). ## Testing - Tested with `text_debug` example. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |