Type Alias piston_window::prelude::Glyphs
source · pub type Glyphs = GlyphCache<'static, Factory, Resources, CommandBuffer>;
Expand description
Glyph cache.
Aliased Type§
struct Glyphs {
pub font: Font<'static>,
pub factory: TextureContext<Factory, Resources, CommandBuffer>,
/* private fields */
}
Fields§
§font: Font<'static>
The font.
factory: TextureContext<Factory, Resources, CommandBuffer>
The factory used to create textures.