wgpu_glyph
A fast text renderer for wgpu, powered by glyph_brush
use ;
let font: & = include_bytes!;
let mut glyph_brush = using_font_bytes
.build;
let section = Section ;
glyph_brush.queue;
glyph_brush.queue;
glyph_brush.draw_queued;
device.get_queue.submit;
Examples
Have a look at
cargo run --example hello --features wgpu/vulkan --release
- Coffee, which uses
wgpu_glyph
to provide font rendering on thewgpu
graphics backend.