EXT_texture_norm16
WebGL working group (public_webgl 'at' khronos.org)
Rijubrata Bhaumik (rijubrata.bhaumik 'at' intel.com)
Members of the WebGL working group
Last modified date: June 08, 2022
Revision: 6
WebGL extension #44
Written against the WebGL API 2.0 specification.
This extension exposes the EXT_texture_norm16 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:
R16_EXT, RG16_EXT and RGBA16_EXT
become available as color-renderable formats. Renderbuffers can be
created in these formats.
texImage and texSubImage
entrypoints taking ArrayBufferView are extended to accept
Uint16Array with the pixel type UNSIGNED_SHORT
and Int16Array with the pixel type SHORT.
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
interface EXT_texture_norm16 {
const GLenum R16_EXT = 0x822A;
const GLenum RG16_EXT = 0x822C;
const GLenum RGB16_EXT = 0x8054;
const GLenum RGBA16_EXT = 0x805B;
const GLenum R16_SNORM_EXT = 0x8F98;
const GLenum RG16_SNORM_EXT = 0x8F99;
const GLenum RGB16_SNORM_EXT = 0x8F9A;
const GLenum RGBA16_SNORM_EXT = 0x8F9B;
};
Revision 1, 2019/03/27
Revision 2, 2019/09/25
Revision 3, 2020/08/10
Revision 4, 2020/08/13
Revision 5, 2020/12/03
Revision 6, 2022/06/08