texImage2DUntyped method

  1. @Deprecated("Use texImage2D")
void texImage2DUntyped (
  1. int targetTexture,
  2. int levelOfDetail,
  3. int internalFormat,
  4. int format,
  5. int type,
  6. dynamic data
)
@Deprecated("Use texImage2D")

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.

Implementation

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