setValueV1ui method

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

Implementation

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

  if (cache[0] == v) return;

  gl.uniform1ui(addr, v);

  cache[0] = v;
}