gldtUniform4fv function

void gldtUniform4fv(
  1. int location,
  2. int count,
  3. Float32List value
)

Implementation

void gldtUniform4fv(int location, int count, Float32List value) {
  var valuePointer = calloc<Float>(value.length);
  for (var i = 0; i < value.length; i++) {
    (valuePointer + i).value = value[i];
  }
  glUniform4fv(location, count, valuePointer);
  calloc.free(valuePointer);
}