DO NOT IMPLEMENT!!!
EXT_texture_norm16_dom_source
WebGL working group (public_webgl 'at' khronos.org)
Members of the WebGL working group
Last modified date: December 03, 2020
Revision: 1
WebGL extension #NN
Written against the WebGL API 2.0 specification.
Implementations must also support the EXT_texture_norm16 extension.
When this extension is enabled:
ArrayBufferView
in EXT_texture_norm16
,
the texImage2D
and texSubImage2D
entry points taking ImageBitmap
and HTMLImageElement
are extended to accept the pixel type
UNSIGNED_SHORT
, with associated internal format being one of
R16_EXT
, RG16_EXT
,
RGB16_EXT
, and RGBA16_EXT
.
ImageBitmap
or HTMLImageElement
to pixel type
UNSIGNED_SHORT
with associated internal format being one of
R16_EXT
, RG16_EXT
,
RGB16_EXT
, and RGBA16_EXT
throw a DOMException.
ImageBitmap
or HTMLImageElement
with fewer channels than that indicated by the internal format
result in channel expansion where red, green, and blue channels are populated with 0 and alpha channel is populated with 0xffff.
Uploading image sources with more channels that that indicated by the internal format would result in channel clamping.
HTMLImageElement
file format is PNG only at present.Revision 1, 2020/12/03