setValueV2fArray method

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

Implementation

void setValueV2fArray(RenderingContext gl, v, [WebGLTextures? textures]) {
  final data = flatten(v, size, 2);
  gl.uniform2fv(addr, data);
}