EXT_texture_storage
WebGL working group (public_webgl 'at' khronos.org)
Kirill Dmitrenko (dmikis 'at' yandex-team.ru)
Members of the WebGL working group
Last modified date: January 11, 2017
Revision: 2
WebGL extension #k
Written against the WebGL API 1.0 specification.
Promoted to core and no longer available as an extension in WebGL API 2.0 specification.
This extension exposes the EXT_texture_storage functionality to WebGL.
There are no WebGL-specific behavioral changes.
Consult the above extension for documentation, issues and new functions and enumerants.
When this extension is enabled:
texImage2D
,
compressedTexImage2D
and copyTexImage2D
methods of a WebGL context is changed. After a successful call to texStorage2DEXT
,
the value of TEXTURE_IMMUTABLE_FORMAT_EXT
for this texture
object is set to TRUE
, and no further changes to the dimensions
or format of the texture may be made. Using texImage2D
,
compressedTexImage2D
, copyTexImage2D
or
texStorage2DEXT
with the same texture will result
in the error INVALID_OPERATION
being generated.
interface EXT_texture_storage { const GLenum TEXTURE_IMMUTABLE_FORMAT_EXT = 0x912F; undefined texStorage2DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); }
Revision 1, 2015/09/16
Revision 2, 2017/01/11