bevy/crates/bevy_text/src
UkoeHB 3df281ba7b
Refactor TextPipeline::update_buffer to accept an interator (#15581)
# 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.
2024-10-01 23:44:59 +00:00
..
bounds.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
error.rs Cosmic text (#10193) 2024-07-04 20:41:08 +00:00
FiraMono-subset.ttf add a default font (#8445) 2023-04-21 22:30:18 +00:00
font.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
font_atlas.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
font_atlas_set.rs Add the ability to control font smoothing (#15368) 2024-09-23 17:28:25 +00:00
font_loader.rs Cleanup unneeded lifetimes in bevy_asset (#15546) 2024-09-30 21:54:59 +00:00
glyph.rs Fix intra-doc links and make CI test them (#14076) 2024-07-11 13:08:31 +00:00
lib.rs Make CosmicFontSystem and SwashCache pub resources. (#15479) 2024-09-28 00:00:27 +00:00
pipeline.rs Refactor TextPipeline::update_buffer to accept an interator (#15581) 2024-10-01 23:44:59 +00:00
text.rs Rename BreakLineOn to LineBreak (#15583) 2024-10-01 22:30:50 +00:00
text2d.rs Rename BreakLineOn to LineBreak (#15583) 2024-10-01 22:30:50 +00:00