API

Interface TextData

Mutable text block data containing glyph runs and the packed per-glyph instance buffer consumed by text renderers.

interface TextData {
    "[textDataBrand]": true;
    runs: readonly GlyphRun[];
}

Hierarchy (View Summary)

Index
"[textDataBrand]": true
runs: readonly GlyphRun[]

Live, in-insertion-order view of the runs currently rendered. Mutated by updateTextData. Do not mutate from outside.