uniformMatrix2fv method

void uniformMatrix2fv(UniformLocation location, bool transpose, array)

Source

void uniformMatrix2fv(UniformLocation location, bool transpose, array) {
  if ((array is Float32List) &&
      (transpose is bool) &&
      (location is UniformLocation || location == null)) {
    _blink.BlinkWebGL2RenderingContext.instance
        .uniformMatrix2fv_Callback_3_(this, location, transpose, array);
    return;
  }
  if ((array is List<num>) &&
      (transpose is bool) &&
      (location is UniformLocation || location == null)) {
    _blink.BlinkWebGL2RenderingContext.instance
        .uniformMatrix2fv_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/RenderingContext2/uniformMatrix2fv.html