Function: createTextShapingEcsSystem()
createTextShapingEcsSystem(
renderContext):EcsSystem<[TextEcsComponent]>
Defined in: text/systems/text-shaping-system.ts:64
Creates a text shaping ECS system: turns dirty TextEcsComponents into
TextMeshEcsComponents (glyph quads + bounds), only re-shaping an
entity's text when a shape-relevant field has actually changed since the
last tick this system ran against it.
Parameters
renderContext
The render context used to build (and cache, one
per (FontAtlas, category) pair) the Renderable each shaped mesh draws
with.
Returns
The ECS system.