texSubImage3D method

void texSubImage3D(
  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. GLenum type,
  11. JSAny? pboOffsetOrSourceOrSrcData, [
  12. int srcOffset,
])

The WebGL2RenderingContext.texSubImage3D() method of the WebGL API specifies a sub-rectangle of the current texture.

Implementation

external void texSubImage3D(
  GLenum target,
  GLint level,
  GLint xoffset,
  GLint yoffset,
  GLint zoffset,
  GLsizei width,
  GLsizei height,
  GLsizei depth,
  GLenum format,
  GLenum type,
  JSAny? pboOffsetOrSourceOrSrcData, [
  int srcOffset,
]);