bufferSubData method

void bufferSubData(int target, int offset, data)

Source

void bufferSubData(int target, int offset, data) {
  if ((data is TypedData) && (offset is int) && (target is int)) {
    _blink.BlinkWebGL2RenderingContext.instance
        .bufferSubData_Callback_3_(this, target, offset, data);
    return;
  }
  if ((data is ByteBuffer || data == null) &&
      (offset is int) &&
      (target is int)) {
    _blink.BlinkWebGL2RenderingContext.instance
        .bufferSubData_Callback_3_(this, target, offset, data);
    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/bufferSubData.html