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

pub trait LoadGlyph {
    fn load_glyph(&mut self, rasterized: &RasterizedGlyph) -> Glyph;
fn clear(&mut self); }

LoadGlyph allows for copying a rasterized glyph into graphics memory.

Required methods

fn load_glyph(&mut self, rasterized: &RasterizedGlyph) -> Glyph

Load the rasterized glyph into GPU memory.

fn clear(&mut self)

Clear any state accumulated from previous loaded glyphs.

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

Loading content...

Implementors

impl<'a> LoadGlyph for LoaderApi<'a>[src]

impl<'a> LoadGlyph for RenderApi<'a>[src]

Loading content...