Trait alacritty::renderer::LoadGlyph[][src]

pub trait LoadGlyph {
    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

Load the rasterized glyph into GPU memory.

Clear any state accumulated from previous loaded glyphs.

This can, for instance, be used to reset the texture Atlas.

Implementors