texImage2D method
void
texImage2D(])
The WebGLRenderingContext.texImage2D()
method of the
WebGL API
specifies a two-dimensional texture
image.
Implementation
external void texImage2D(
GLenum target,
GLint level,
GLint internalformat,
JSAny formatOrWidth,
JSAny heightOrType,
JSAny borderOrSource, [
GLenum format,
GLenum type,
ArrayBufferView? pixels,
]);