copyTexImage2D method
void
copyTexImage2D()
The WebGLRenderingContext.copyTexImage2D()
method of the
WebGL API
copies pixels from the current
WebGLFramebuffer into a 2D texture image.
Implementation
external void copyTexImage2D(
GLenum target,
GLint level,
GLenum internalformat,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLint border,
);