class
Tessell::Text::GlyphAtlas::Page
- Tessell::Text::GlyphAtlas::Page
- Reference
- Object
Defined in:
tessell/text/glyph_atlas.crConstructors
Instance Method Summary
-
#bpp : Int32
bytes per pixel: 1 = R8 coverage page, 4 = premultiplied RGBA page.
- #bump_revision : Nil
- #data : Bytes
- #live_count : Int32
- #live_count=(live_count : Int32)
- #reset! : Nil
-
#revision : UInt64
Monotonic per-page content version.
- #shelves : Array(Shelf)
- #size : Int32
- #used_pixels : Int32
- #used_pixels=(used_pixels : Int32)
Constructor Detail
Instance Method Detail
def revision : UInt64
#
Monotonic per-page content version. Bumped on every pixel mutation (glyph placement, page reset). GPU sync compares this against the last-uploaded version to skip unchanged pages.