# texImage2DTyped method

1. @Deprecated("Use texImage2D")

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`.

This is deprecated in favour of texImage2D.

## Implementation

    @Deprecated("Use texImage2D")
    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);
    }