setValueV4i method

void setValueV4i(
  1. RenderingContext gl,
  2. dynamic v, [
  3. WebGLTextures? textures
])

Implementation

void setValueV4i(RenderingContext gl, v, [WebGLTextures? textures]) {
  final cache = this.cache;

  if (arraysEqual(cache, v)) return;

  gl.uniform4iv(addr, v);

  copyArray(cache, v);
}