W3cubDocs

/Dart 2

texSubImage2DUntyped method

  1. @Deprecated("Use texSubImage2D")
void texSubImage2DUntyped (int targetTexture, int levelOfDetail, int xOffset, int yOffset, int format, int type, dynamic data)

Updates a sub-rectangle of the currently bound texture to data.

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

Implementation

@Deprecated("Use texSubImage2D")
void texSubImage2DUntyped(int targetTexture, int levelOfDetail, int xOffset,
    int yOffset, int format, int type, data) {
  texSubImage2D(
      targetTexture, levelOfDetail, xOffset, yOffset, format, type, data);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-web_gl/RenderingContext/texSubImage2DUntyped.html