void texImage2DTyped(
int targetTexture,
int levelOfDetail,
int internalFormat,
int width,
int height,
int border,
int format,
int type,
TypedData data
)

Sets the currently bound texture to data.

Source

/**
 * Sets the currently bound texture to [data].
 */
void texImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat,
    int width, int height, int border, int format, int type, TypedData data) {
  texImage2D(targetTexture, levelOfDetail, internalFormat,
      width, height, border, format, type, data);
}