setValueV4i method

dynamic setValueV4i(
  1. dynamic gl,
  2. dynamic v,
  3. dynamic textures
)

Implementation

setValueV4i(gl, v, textures) {
  var cache = this.cache;

  if (arraysEqual(cache, v)) return;

  gl.uniform4iv(addr, v);

  copyArray(cache, v);
}