OES_texture_half_float
WebGL
working group (public_webgl 'at' khronos.org)
Members of the WebGL working group
2
Optional support for HALF_FLOAT
textures as FBO
attachments.
The texImage2D
and texSubImage2D
entry points taking ArrayBufferView
are extended to accept
Uint16Array
with the pixel type HALF_FLOAT_OES
.
The texImage2D
and texSubImage2D
entry points taking ImageData
,
HTMLImageElement
, HTMLCanvasElement
and
HTMLVideoElement
are extended to accept the pixel type
HALF_FLOAT_OES
.
Upon activation of this extension, implementations supporting
EXT_color_buffer_half_float
shall implicitly enable it. This requirement maintains the historical
behavior prior to the differentiation of float renderability from float
textures, so as to not break existing content.
[NoInterfaceObject]
interface OES_texture_half_float {
const GLenum HALF_FLOAT_OES = 0x8D61;
};
Initial revision.
Added similar text about texImage2D
and
texSubImage2D
as in OES_texture_float spec.
Added optional ability to use a HALF_FLOAT_OES type texture as
an FBO's color attachment.
Removed webgl module per changes to Web IDL spec.
Specify that implementations supporting HALF_FLOAT_OES color
attachments implicitly enable EXT_color_buffer_half_float.
Ratified by Khronos Board of Promoters.
Allow texture uploads of half-floats via Uint16Arrays.
Added NoInterfaceObject extended attribute.
Corrected link to EXT_color_buffer_half_float.
Clarify behaviors regarding EXT_color_buffer_half_float.