wgpu-text
wgpu-text is a wrapper over glyph-brush for simpler text rendering in wgpu.
This project was inspired by and is similar to wgpu_glyph, but has additional features and is simpler. Also there is no need to include glyph-brush in your project.
Some features are directly implemented from glyph-brush so you should go trough Section docs for better understanding of adding and managing text.
Example:
use BrushBuilder;
use ;
let brush = using_font_bytes.unwrap.build;
let section = default
.add_text
.with_layout;
// window event loop:
RedrawRequested =>
Examples
Look trough examples for more.
cargo run --example <example-name>