GlyphCache

Type Alias GlyphCache 

Source
pub type GlyphCache<'a> = GlyphCache<'a, TextureContext, Texture>;
Expand description

Stores textures for text rendering.

Aliased Type§

pub struct GlyphCache<'a> {
    pub font: Font<'a>,
    pub factory: TextureContext,
    /* private fields */
}

Fields§

§font: Font<'a>

The font.

§factory: TextureContext

The factory used to create textures.