bufferData method
void bufferData(Source
void bufferData(int target, data_OR_size, int usage) { if ((usage is int) && (data_OR_size is int) && (target is int)) { _blink.BlinkWebGL2RenderingContext.instance .bufferData_Callback_3_(this, target, data_OR_size, usage); return; } if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { _blink.BlinkWebGL2RenderingContext.instance .bufferData_Callback_3_(this, target, data_OR_size, usage); return; } if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) && (target is int)) { _blink.BlinkWebGL2RenderingContext.instance .bufferData_Callback_3_(this, target, data_OR_size, usage); 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/bufferData.html