setValueV2ui method

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

Implementation

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

  if (arraysEqual(cache, v)) return;

  gl.uniform2uiv(addr, v);

  copyArray(cache, v);
}