# texSubImage2DTyped method

1. @Deprecated("Use texSubImage2D")

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

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

## Implementation

    @Deprecated("Use texSubImage2D")
    void texSubImage2DTyped(
        int targetTexture,
        int levelOfDetail,
        int xOffset,
        int yOffset,
        int width,
        int height,
        int border,
        int format,
        int type,
        TypedData data) {
      texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, width, height,
          format, type, data);
    }