setValueV2ui method

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

Implementation

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

  if (arraysEqual(cache, v)) return;

  gl.uniform2uiv(addr, v);

  copyArray(cache, v);
}