gldtUniformMatrix3fv function

void gldtUniformMatrix3fv(
  1. int location,
  2. int count,
  3. int transpose,
  4. Float32List value,
)

Implementation

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