Skip to content

Commit c60dd09

Browse files
authoredMay 18, 2023
Add TextureUniform type for setUniform value type (#11284)
1 parent afab16d commit c60dd09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/engine/Source/Scene/Model/CustomShader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ function validateBuiltinVariables(customShader) {
405405
/**
406406
* Update the value of a uniform declared in the shader
407407
* @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.
408+
* @param {boolean|number|Cartesian2|Cartesian3|Cartesian4|Matrix2|Matrix3|Matrix4|string|Resource|TextureUniform} value The new value of the uniform.
409409
*/
410410
CustomShader.prototype.setUniform = function (uniformName, value) {
411411
//>>includeStart('debug', pragmas.debug);

0 commit comments

Comments
 (0)
Please sign in to comment.