Skip to content

Commit d6496c8

Browse files
committed
Added JSDocs
1 parent 305106b commit d6496c8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/renderer/webgl/WebGLShader.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,16 @@ var WebGLShader = new Class({
340340
return this;
341341
},
342342

343+
/**
344+
* Checks to see if the given uniform name exists and is active in this shader.
345+
*
346+
* @method Phaser.Renderer.WebGL.WebGLShader#hasUniform
347+
* @since 3.50.0
348+
*
349+
* @param {string} name - The name of the uniform to check for.
350+
*
351+
* @return {boolean} `true` if the uniform exists, otherwise `false`.
352+
*/
343353
hasUniform: function (name)
344354
{
345355
return this.uniforms.hasOwnProperty(name);

0 commit comments

Comments
 (0)