setUniformOverride constant
String
const setUniformOverride
Overrides a float uniform of every DebugShader for an asset: the
value replaces the app's on every paint, and in the probe, until
cleared.
Parameters: asset, name, and values, the components as
comma-separated numbers. Answers {"applied": true}, or applied
false with the reason unknownUniform when the shader has no float
uniform name with that many components, or noShaderForAsset.
Implementation
static const String setUniformOverride = '$prefix.setUniformOverride';