rendererUniforms constant

Map<String, int> const rendererUniforms

What the renderer sets, by name and float count, when the shader declares it at that size: the box's logical size (the whole text, or one line), the text's own colour as straight RGBA 0–1, and scene seconds. A shader that does not declare one simply does not get it.

Implementation

static const rendererUniforms = {'uSize': 2, 'uColor': 4, 'uTime': 1};