Type Alias gfx_graphics::GlyphCache
source · pub type GlyphCache<'a, F, R, C> = GlyphCache<'a, TextureContext<F, R, C>, Texture<R>>;
Expand description
Stores textures for text rendering.
Aliased Type§
struct GlyphCache<'a, F, R, C> {
pub font: Font<'a>,
pub factory: TextureContext<F, R, C>,
/* private fields */
}
Fields§
§font: Font<'a>
The font.
factory: TextureContext<F, R, C>
The factory used to create textures.