texStorage2D method

void texStorage2D(
  1. GLenum target,
  2. GLsizei levels,
  3. GLenum internalformat,
  4. GLsizei width,
  5. GLsizei height,
)

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,
);