texSubImage2D method

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

Implementation

texSubImage2D(int target, int level, int x, int y, width, height, int glFormat, int glType, NativeArray data) {
  // try {

  gl.texSubImage2D(target, level, x, y, width.toInt(), height.toInt(), glFormat, glType, data);

  // } catch ( error ) {

  // 	print( 'three.WebGLState: ${error}' );

  // }
}