Sets a 1iv uniform value based on the given name on the currently set shader.
The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
update method. However, when working within a Shader file
directly, use the
WebGLShader method equivalent instead, to avoid the program
The name of the uniform to set.
|arr||Array.<number> | Float32Array||
The new value to be used for the uniform variable.
The shader to set the value on. If not given, the
This WebGLPipeline instance.