gldtUniform2fv function

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

Implementation

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