void texSubImage2DTyped(
int targetTexture,
int levelOfDetail,
int xOffset,
int yOffset,
int width,
int height,
int format,
int type,
TypedData data
)

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

Source

/**
 * Updates a sub-rectangle of the currently bound texture to [data].
 */
void texSubImage2DTyped(int targetTexture, int levelOfDetail,
    int xOffset, int yOffset, int width, int height, int format,
    int type, TypedData data) {
  texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
      width, height, format, type, data);
}