setValueV2fArray method

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

Implementation

setValueV2fArray(gl, v, textures) {
  var data = flatten(v, size, 2);

  gl.uniform2fv(addr, data);
}