setValueV4fArray method

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

Implementation

setValueV4fArray(gl, v, textures) {
  var data = flatten(v, size, 4);

  gl.uniform4fv(addr, data);
}