texImage3D method

void texImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, offset_OR_pixels)

Source

void texImage3D(
    int target,
    int level,
    int internalformat,
    int width,
    int height,
    int depth,
    int border,
    int format,
    int type,
    offset_OR_pixels) {
  if ((offset_OR_pixels is TypedData || offset_OR_pixels == null) &&
      (type is int) &&
      (format is int) &&
      (border is int) &&
      (depth is int) &&
      (height is int) &&
      (width is int) &&
      (internalformat is int) &&
      (level is int) &&
      (target is int)) {
    _blink.BlinkWebGL2RenderingContext.instance.texImage3D_Callback_10_(
        this,
        target,
        level,
        internalformat,
        width,
        height,
        depth,
        border,
        format,
        type,
        offset_OR_pixels);
    return;
  }
  if ((offset_OR_pixels is int) &&
      (type is int) &&
      (format is int) &&
      (border is int) &&
      (depth is int) &&
      (height is int) &&
      (width is int) &&
      (internalformat is int) &&
      (level is int) &&
      (target is int)) {
    _blink.BlinkWebGL2RenderingContext.instance.texImage3D_Callback_10_(
        this,
        target,
        level,
        internalformat,
        width,
        height,
        depth,
        border,
        format,
        type,
        offset_OR_pixels);
    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/texImage3D.html