texSubImage2D method

void texSubImage2D(
  1. int target,
  2. int level,
  3. int x,
  4. int y,
  5. int width,
  6. int height,
  7. int format,
  8. int type,
  9. NativeArray<num> data,
)

Implementation

void texSubImage2D(int target, int level, int x, int y, int width, int height,
    int format, int type, NativeArray data) {
  gl.glTexSubImage2D(target, level, x, y, width, height, format, type,
      data.data.cast<Void>());
}