setValueV4fArray method

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

Implementation

void setValueV4fArray(RenderingContext gl, v, [WebGLTextures? textures]) {
  final data = flatten(v, size, 4);
  gl.uniform4fv(addr, data);
}