method

  1. @Deprecated("Use texImage2D")
void texImage2DUntyped(int targetTexture, int levelOfDetail, int internalFormat, int format, int type, data)

Sets the currently bound texture to data.

data can be either an ImageElement, a CanvasElement, a VideoElement, TypedData or an ImageData object.

This is deprecated in favor of texImage2D.

Source

@Deprecated("Use texImage2D")
void texImage2DUntyped(int targetTexture, int levelOfDetail,
    int internalFormat, int format, int type, data) {
  texImage2D(
      targetTexture, levelOfDetail, internalFormat, format, type, data);
}

© 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/RenderingContext/texImage2DUntyped.html