wgpu_glyph
A fast text renderer for wgpu, powered by glyph_brush
use ;
let font = try_from_slice
.expect;
let mut glyph_brush = using_font
.build;
let section = Section ;
glyph_brush.queue;
glyph_brush.draw_queued;
device.get_queue.submit;
Examples
Have a look at
cargo run --example hello- Coffee, which uses
wgpu_glyphto provide font rendering on thewgpugraphics backend.