Expand description
Blits a GlyphBuffer to the window with the font atlas (game ADR-0003):
integer-scaled, centred, black letterbox. The buffer’s items are drawn
scaled, in the order they were added: Under ones after the cell
backgrounds, Over ones after the glyphs. A rectangle (game ADR-0018) is a
solid fill; a sprite (game ADR-0038) is part of an image’s texture, or of a
recoloured copy of it when the sprite isn’t painted in the image’s own
colours (game ADR-0049). A buffer’s backdrop (game ADR-0048), a second buffer
panned and zoomed, is drawn the same way inside its window, behind the
console. A wide glyph (its continuation cell after it) is one quad over
both its cells, as the raster paints it. A painted picture (ADR-0078) is
a texture of its own, uploaded only in a frame whose revision moved
(PaintedTextures, in painted.rs), drawn with nearest-pixel sampling.
Structs§
- Renderer
- Draws glyph buffers with a font atlas texture.