void
bufferData(int target, data_OR_size, int usage)
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");
}