OES_texture_half_float
WebGL working group (public_webgl 'at' khronos.org)
Members of the WebGL working group
Last modified date: May 15, 2013
Revision: 5
WebGL extension #2
Written against the WebGL API 1.0 specification.
This extension exposes the OES_texture_half_float functionality to WebGL.
The following WebGL-specific behavioral changes apply:
HALF_FLOAT textures as FBO
attachments (deprecated).Consult the above extension for documentation, issues and new functions and enumerants.
When this extension is enabled:
texImage2D and texSubImage2D
entry points taking ArrayBufferView are extended to accept
null with the pixel type HALF_FLOAT_OES.
texImage2D and texSubImage2D
entry points taking ImageData,
HTMLImageElement, HTMLCanvasElement and
HTMLVideoElement are extended to accept the pixel type
HALF_FLOAT_OES. HALF_FLOAT_OES is attached
to an FBO. Although this feature has historically been allowed, new
implementations should not implicitly support float rendering and
applications should be modified to explicitly enable OES_color_buffer_half_float.
interface OES_texture_half_float {
const GLenum HALF_FLOAT_OES = 0x8D61;
};
Revision 1, 2010/11/29
Revision 2, 2011/09/12
texImage2D and
texSubImage2D as in OES_texture_float spec. Revision 3, 2012/01/03
Revision 4, 2012/12/04
Revision 5, 2013/05/15