pub trait LoadGlyph {
// Required methods
fn load_glyph(&mut self, rasterized: &RasterizedGlyph) -> Glyph;
fn clear(&mut self);
}
Expand description
LoadGlyph
allows for copying a rasterized glyph into graphics memory.
Required Methods§
sourcefn load_glyph(&mut self, rasterized: &RasterizedGlyph) -> Glyph
fn load_glyph(&mut self, rasterized: &RasterizedGlyph) -> Glyph
Load the rasterized glyph into GPU memory.