setValueV1f method

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

Implementation

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

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

  gl.uniform1f(addr, v.toDouble());

  cache[0] = v;
}