texImage3D method

void texImage3D(
  1. GLenum target,
  2. GLint level,
  3. GLint internalformat,
  4. GLsizei width,
  5. GLsizei height,
  6. GLsizei depth,
  7. GLint border,
  8. GLenum format,
  9. GLenum type,
  10. JSAny? pboOffsetOrSourceOrSrcData, [
  11. int srcOffset,
])

The WebGLRenderingContext.texImage3D() method of the WebGL API specifies a three-dimensional texture image.

Implementation

external void texImage3D(
  GLenum target,
  GLint level,
  GLint internalformat,
  GLsizei width,
  GLsizei height,
  GLsizei depth,
  GLint border,
  GLenum format,
  GLenum type,
  JSAny? pboOffsetOrSourceOrSrcData, [
  int srcOffset,
]);