uniform4fv method

void uniform4fv(
  1. UniformLocation location,
  2. List<double> vectors
)

Implementation

void uniform4fv(UniformLocation location, List<double> vectors) {
  startCheck('uniform4fv');
  var arrayPointer = floatListToArrayPointer(vectors);
  gl.glUniform4fv(location.id, vectors.length ~/ 4, arrayPointer);
  checkError('uniform4fv');
  calloc.free(arrayPointer);
}