Expand description
Glyph atlas cache with LRU eviction.
Structsยง
- Atlas
Config - Configuration for multiple atlas support.
- Glyph
Atlas - Core glyph atlas cache data shared by all renderer backends.
- Glyph
Cache Config - Configuration for glyph cache behavior.
- Glyph
Cache ๐Entry - Internal cache entry storing atlas slot and access time.
- Glyph
Cache Stats - Statistics about cached glyphs.
- Image
Cache - Manages image resources for the renderer.
- Pending
Bitmap Upload - A bitmap glyph pixmap awaiting GPU upload.
- Pending
Clear Rect - An atlas region that must be cleared to transparent.
- VarLookup
Key ๐ - Lookup key for variable font caches (borrowed version).
Constantsยง
- EMPTY_
GLYPH_ ๐MAP - Compile-time empty map for static (non-variable) glyph entries.
- EMPTY_
VAR_ ๐MAP - Compile-time empty map for variable-font glyph entries, keyed by variation coordinates.
- GLYPH_
PADDING - Padding in pixels added to each side of a glyph to prevent texture bleeding.
- HASH_
SEED ๐ - Fixed seed for deterministic hashing across all glyph cache maps.
Functionsยง
- push_
clear_ ๐rect_ for_ slot - Queue a clear rect covering the full padded region of an evicted atlas slot.
Type Aliasesยง
- Fixed
Hash ๐Map - Deterministic hash map type alias.
- VarKey ๐
- Key for variable font caches (owned version).