uniformMatrix4fv method

void uniformMatrix4fv(UniformLocation location, bool transpose, array)

Source

void uniformMatrix4fv(UniformLocation location, bool transpose, array) {
  if ((array is Float32List) &&
      (transpose is bool) &&
      (location is UniformLocation || location == null)) {
    _blink.BlinkWebGLRenderingContext.instance
        .uniformMatrix4fv_Callback_3_(this, location, transpose, array);
    return;
  }
  if ((array is List<num>) &&
      (transpose is bool) &&
      (location is UniformLocation || location == null)) {
    _blink.BlinkWebGLRenderingContext.instance
        .uniformMatrix4fv_Callback_3_(this, location, transpose, array);
    return;
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-web_gl/RenderingContext/uniformMatrix4fv.html