mirror of
https://github.com/bevyengine/bevy
synced 2025-01-07 02:38:59 +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. |
||
---|---|---|
.. | ||
bounds.rs | ||
error.rs | ||
FiraMono-subset.ttf | ||
font.rs | ||
font_atlas.rs | ||
font_atlas_set.rs | ||
font_loader.rs | ||
glyph.rs | ||
lib.rs | ||
pipeline.rs | ||
text.rs | ||
text2d.rs |