texSubImage2D method
void
texSubImage2D(])
The WebGLRenderingContext.texSubImage2D()
method of the
WebGL API
specifies a sub-rectangle of the
current texture.
Implementation
external void texSubImage2D(
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
JSAny formatOrWidth,
JSAny heightOrType,
JSAny formatOrSource, [
GLenum type,
ArrayBufferView? pixels,
]);