Source
void texSubImage3D(
int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int format_OR_width,
int height_OR_type,
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video,
[int format,
int type,
TypedData pixels]) {
if ((pixels is TypedData || pixels == null) &&
(type is int) &&
(format is int) &&
(bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is int) &&
(height_OR_type is int) &&
(format_OR_width is int) &&
(zoffset is int) &&
(yoffset is int) &&
(xoffset is int) &&
(level is int) &&
(target is int)) {
_blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_11_(
this,
target,
level,
xoffset,
yoffset,
zoffset,
format_OR_width,
height_OR_type,
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video,
format,
type,
pixels);
return;
}
if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageData ||
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
(height_OR_type is int) &&
(format_OR_width is int) &&
(zoffset is int) &&
(yoffset is int) &&
(xoffset is int) &&
(level is int) &&
(target is int) &&
format == null &&
type == null &&
pixels == null) {
_blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(
this,
target,
level,
xoffset,
yoffset,
zoffset,
format_OR_width,
height_OR_type,
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
return;
}
if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement ||
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
(height_OR_type is int) &&
(format_OR_width is int) &&
(zoffset is int) &&
(yoffset is int) &&
(xoffset is int) &&
(level is int) &&
(target is int) &&
format == null &&
type == null &&
pixels == null) {
_blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(
this,
target,
level,
xoffset,
yoffset,
zoffset,
format_OR_width,
height_OR_type,
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
return;
}
if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement ||
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
(height_OR_type is int) &&
(format_OR_width is int) &&
(zoffset is int) &&
(yoffset is int) &&
(xoffset is int) &&
(level is int) &&
(target is int) &&
format == null &&
type == null &&
pixels == null) {
_blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(
this,
target,
level,
xoffset,
yoffset,
zoffset,
format_OR_width,
height_OR_type,
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
return;
}
if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement ||
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
(height_OR_type is int) &&
(format_OR_width is int) &&
(zoffset is int) &&
(yoffset is int) &&
(xoffset is int) &&
(level is int) &&
(target is int) &&
format == null &&
type == null &&
pixels == null) {
_blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(
this,
target,
level,
xoffset,
yoffset,
zoffset,
format_OR_width,
height_OR_type,
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
return;
}
if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageBitmap ||
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
(height_OR_type is int) &&
(format_OR_width is int) &&
(zoffset is int) &&
(yoffset is int) &&
(xoffset is int) &&
(level is int) &&
(target is int) &&
format == null &&
type == null &&
pixels == null) {
_blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(
this,
target,
level,
xoffset,
yoffset,
zoffset,
format_OR_width,
height_OR_type,
bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
}