setValueV4i method

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

Implementation

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

  if (arraysEqual(cache, v)) return;

  gl.uniform4iv(addr, v);

  copyArray(cache, v);
}