We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afab16d commit c60dd09Copy full SHA for c60dd09
packages/engine/Source/Scene/Model/CustomShader.js
@@ -405,7 +405,7 @@ function validateBuiltinVariables(customShader) {
405
/**
406
* Update the value of a uniform declared in the shader
407
* @param {string} uniformName The GLSL name of the uniform. This must match one of the uniforms declared in the constructor
408
- * @param {boolean|number|Cartesian2|Cartesian3|Cartesian4|Matrix2|Matrix3|Matrix4|string|Resource} value The new value of the uniform.
+ * @param {boolean|number|Cartesian2|Cartesian3|Cartesian4|Matrix2|Matrix3|Matrix4|string|Resource|TextureUniform} value The new value of the uniform.
409
*/
410
CustomShader.prototype.setUniform = function (uniformName, value) {
411
//>>includeStart('debug', pragmas.debug);
0 commit comments