setValueM4 method
Implementation
setValueM4(gl, Matrix4 v, [WebGLTextures? textures]) {
var cache = this.cache;
var elements = v.elements;
if (arraysEqual(cache, elements)) {
return;
}
// TODO
// mat4array.set( elements );
gl.uniformMatrix4fv(addr, false, elements);
copyArray(cache, elements);
}