texSubImage2DTyped 方法

  1. @已弃用("使用 texSubImage2D")
void texSubImage2DTyped(
  1. int targetTexture,
  2. int levelOfDetail,
  3. int xOffset,
  4. int yOffset,
  5. int width,
  6. int height,
  7. int border,
  8. int") format,
  9. type,
  10. data
)

更新当前绑定纹理的子矩形到 data

实现

@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);
}