compressedTexSubImage2D method

void compressedTexSubImage2D(
  1. dynamic target,
  2. dynamic level,
  3. dynamic xoffset,
  4. dynamic yoffset,
  5. dynamic width,
  6. dynamic height,
  7. dynamic format,
  8. dynamic pixels,
)

Implementation

void compressedTexSubImage2D(
    target, level, xoffset, yoffset, width, height, format, pixels) {
  // try {

  gl.compressedTexSubImage2D(
      target, level, xoffset, yoffset, width, height, format, pixels);

  // } catch ( error ) {

  // 	console.error( 'THREE.WebGLState:', error );

  // }
}