getUniforms constant

String const getUniforms

The float uniforms the app sets on its DebugShaders for an asset, and the overrides in force.

Parameters: asset. Answers {"values": {name: [floats]}, "overrides": {name: [floats]}}, components in the order of getUniformFloat's index (column-major for matrices). Values are the app's own, from the first DebugShader for the asset; a uniform the app never set is missing. Non-finite floats come as strings, as in readPixel.

Implementation

static const String getUniforms = '$prefix.getUniforms';