1 <?xml version="1.0" encoding="UTF-8"?>
2 <ratified href="OES_texture_float/">
3 <name>OES_texture_float</name>
5 <contact> <a href="https://www.khronos.org/webgl/public-mailing-list/">WebGL
6 working group</a> (public_webgl 'at' khronos.org) </contact>
9 <contributor>Members of the WebGL working group</contributor>
19 <mirrors href="http://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt"
20 name="OES_texture_float">
21 <addendum>Optional support for <code>FLOAT</code> textures as FBO
22 attachments (deprecated).</addendum>
26 <feature> The <code>texImage2D</code> and <code>texSubImage2D</code>
27 entry points taking <code>ArrayBufferView</code> are extended to accept
28 <code>Float32Array</code> with the pixel type <code>FLOAT</code>.
31 <feature> The <code>texImage2D</code> and <code>texSubImage2D</code>
32 entry points taking <code>ImageData</code>,
33 <code>HTMLImageElement</code>, <code>HTMLCanvasElement</code> and
34 <code>HTMLVideoElement</code> are extended to accept the pixel type
35 <code>FLOAT</code>. </feature>
37 <feature>Implementations supporting float rendering via this extension
38 will implicitly enable the <a
39 href="WEBGL_color_buffer_float.html">WEBGL_color_buffer_float</a>
40 extension and follow its requirements. This ensures correct behavior
41 when a texture with pixel type <code>FLOAT</code> is attached to an FBO.
42 Although this feature has historically been allowed, new implementations
43 should not implicitly support float rendering and applications should be
44 modified to explicitly enable <a
45 href="WEBGL_color_buffer_float.html">WEBGL_color_buffer_float</a>.</feature>
49 <idl xml:space="preserve">
51 interface OES_texture_float { }; </idl>
54 <revision date="2010/11/29">
55 <change>Initial revision.</change>
58 <revision date="2010/12/13">
59 <change>Extended to support pixel type FLOAT for texImage2D and
60 texSubImage2D entry points taking ImageData, HTMLImageElement,
61 HTMLCanvasElement and HTMLVideoElement. </change>
64 <revision date="2011/09/12">
65 <change>Added optional ability to use a FLOAT type texture as an FBO's
66 color attachment. </change>
69 <revision date="2012/01/03">
70 <change>Removed webgl module per changes to Web IDL spec.</change>
73 <revision date="2012/12/04">
74 <change>Specify that implementations supporting FLOAT color attachments
75 implicitly enable WEBGL_color_buffer_float.</change>
78 <revision date="2013/05/15">
79 <change>Ratified by Khronos Board of Promoters.</change>
82 <revision date="2014/07/15">
83 <change>Added NoInterfaceObject extended attribute.</change>