texStorage2D method
void
texStorage2D()
The WebGL2RenderingContext.texStorage2D()
method of the
WebGL API
specifies all levels of
two-dimensional texture storage.
Implementation
external void texStorage2D(
GLenum target,
GLsizei levels,
GLenum internalformat,
GLsizei width,
GLsizei height,
);