JavaScript WebGLUniformLocation : Object
WebGLUniformLocation tracks the location of a shader's uniform. Uniforms are inputs into the shader
program that are constant for each vertex or fragment. WebGLUniformLocations are retrieved with getUniformLocation(). Use uniform1f(), uniform1fv(), uniform1iv(), uniform2f(), uniform2fv(), uniform2iv(), uniform3f(), uniform3fv(), uniform3iv(), uniform4f(), uniform4fv(), uniform4iv(), uniformMatrix3fv(), and uniformMatrix4fv() to set the value of the
uniform. Use getUniform() to get the value stored in
the uniform.
Copyright © PUBLIC Contributors