UI module

Atlas

structsince 0.31.0Source

The glyph atlas: a one-channel texture filled row by row, uploaded by the renderer when version changes.

Fields

width: int
height: int
pixels: [..] u8
pen_x: int
pen_y: int
row_height: int
version: int
changes whenever pixels do
full: bool
ran out of room; the cache is cleared at the start of the next frame

See also