setValueV1ui method

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

Implementation

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

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

  gl.uniform1ui(addr, v);

  cache[0] = v;
}