The EXT_texture_norm16
extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer).
When this extension is enabled:
- The
WebGLRenderingContext.texImage2D()
andWebGLRenderingContext.texSubImage2D()
methods accept new formats provided by this extension. - The 16-bit normalized fixed-point types
ext.R16_EXT
,ext.RG16_EXT
andext.RGBA16_EXT
become available as color-renderable formats and renderbuffers and be created in these formats.
WebGL extensions are available using the WebGLRenderingContext.getExtension()
method. For more information, see also Using Extensions in the WebGL tutorial.
Note: This extension is only available to WebGL 2 contexts.