compressedTexSubImage3D method

void compressedTexSubImage3D(
  1. GLenum target,
  2. GLint level,
  3. GLint xoffset,
  4. GLint yoffset,
  5. GLint zoffset,
  6. GLsizei width,
  7. GLsizei height,
  8. GLsizei depth,
  9. GLenum format,
  10. JSAny imageSizeOrSrcData, [
  11. JSAny offsetOrSrcOffset,
  12. GLuint srcLengthOverride,
])

The WebGL2RenderingContext.compressedTexSubImage3D() method of the WebGL API specifies a three-dimensional sub-rectangle for a texture image in a compressed format.

Implementation

external void compressedTexSubImage3D(
  GLenum target,
  GLint level,
  GLint xoffset,
  GLint yoffset,
  GLint zoffset,
  GLsizei width,
  GLsizei height,
  GLsizei depth,
  GLenum format,
  JSAny imageSizeOrSrcData, [
  JSAny offsetOrSrcOffset,
  GLuint srcLengthOverride,
]);