Instead, issue a `write_texture` for every glyph that isn't present in the atlas. I think this should be fine, since cache eviction should be rare and, therefore, uploads will be too. The result here is lower memory usage for bigger caches. |
||
|---|---|---|
| .. | ||
| error.rs | ||
| lib.rs | ||
| shader.wgsl | ||
| text_atlas.rs | ||
| text_render.rs | ||