uniform2fv method

void uniform2fv(
  1. UniformLocation location,
  2. List<double> v
)

Implementation

void uniform2fv(UniformLocation location, List<double> v){
  startCheck('uniform2fv');
  var arrayPointer = floatListToArrayPointer(v);
  gl.glUniform2fv(location.id, v.length ~/ 2, arrayPointer);
  checkError('uniform2fv');
  calloc.free(arrayPointer);
}