Back to API Reference
Class

GlyphResolutionModifier

Inherits:BaseModifier

Raises the atlas tile resolution of the glyphs in its range by up to two size classes above the font default. Grow-only and shared: the atlas key ignores tile size, so every component that shows the glyph reads one tile at the highest boost any range requested, and the tile only ever grows.

Remarks

Cost scales with the promoted tile: each class up is ~4× the tile memory (a +2 glyph is 16× a 64px one), and a promoted glyph stays large while referenced (reclaimed by eviction once unused). Scope it to the glyphs that need the crispness (a heading, an emphasized word), not whole paragraphs. Parameter form: resolutionBoost (0–2), defaulting to the serialized field.
protected override void OnEnable()
protected override void OnDisable()
protected override void OnDestroy()
protected override void BeforeApply()
protected override void OnApply()