| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <ratified href="OES_texture_float/"> |
| 3 | <name>OES_texture_float</name> |
| 4 | |
| 5 | <contact> <a href="https://www.khronos.org/webgl/public-mailing-list/">WebGL |
| 6 | working group</a> (public_webgl 'at' khronos.org) </contact> |
| 7 | |
| 8 | <contributors> |
| 9 | <contributor>Members of the WebGL working group</contributor> |
| 10 | </contributors> |
| 11 | |
| 12 | <number>1</number> |
| 13 | |
| 14 | <depends> |
| 15 | <api version="1.0"/> |
| 16 | <removed version="2.0" /> |
| 17 | </depends> |
| 18 | |
| 19 | <overview> |
| 20 | <mirrors href="http://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt" |
| 21 | name="OES_texture_float"> |
| 22 | <addendum>Optional support for <code>FLOAT</code> textures as FBO |
| 23 | attachments.</addendum> |
| 24 | </mirrors> |
| 25 | |
| 26 | <features> |
| 27 | <feature> The <code>texImage2D</code> and <code>texSubImage2D</code> |
| 28 | entry points taking <code>ArrayBufferView</code> are extended to accept |
| 29 | <code>Float32Array</code> with the pixel type <code>FLOAT</code>. |
| 30 | </feature> |
| 31 | |
| 32 | <feature> The <code>texImage2D</code> and <code>texSubImage2D</code> |
| 33 | entry points taking <code>ImageData</code>, |
| 34 | <code>HTMLImageElement</code>, <code>HTMLCanvasElement</code> and |
| 35 | <code>HTMLVideoElement</code> are extended to accept the pixel type |
| 36 | <code>FLOAT</code>. </feature> |
| 37 | |
| 38 | <feature>Upon activation of this extension, implementations supporting |
| 39 | <a href="../WEBGL_color_buffer_float/">WEBGL_color_buffer_float</a> |
| 40 | shall implicitly enable it. This requirement maintains the historical |
| 41 | behavior prior to the differentiation of float renderability from float |
| 42 | textures, so as to not break existing content.</feature> |
| 43 | </features> |
| 44 | </overview> |
| 45 | |
| 46 | <idl xml:space="preserve"> |
| 47 | [NoInterfaceObject] |
| 48 | interface OES_texture_float { }; </idl> |
| 49 | |
| 50 | <history> |
| 51 | <revision date="2010/11/29"> |
| 52 | <change>Initial revision.</change> |
| 53 | </revision> |
| 54 | |
| 55 | <revision date="2010/12/13"> |
| 56 | <change>Extended to support pixel type FLOAT for texImage2D and |
| 57 | texSubImage2D entry points taking ImageData, HTMLImageElement, |
| 58 | HTMLCanvasElement and HTMLVideoElement. </change> |
| 59 | </revision> |
| 60 | |
| 61 | <revision date="2011/09/12"> |
| 62 | <change>Added optional ability to use a FLOAT type texture as an FBO's |
| 63 | color attachment. </change> |
| 64 | </revision> |
| 65 | |
| 66 | <revision date="2012/01/03"> |
| 67 | <change>Removed webgl module per changes to Web IDL spec.</change> |
| 68 | </revision> |
| 69 | |
| 70 | <revision date="2012/12/04"> |
| 71 | <change>Specify that implementations supporting FLOAT color attachments |
| 72 | implicitly enable WEBGL_color_buffer_float.</change> |
| 73 | </revision> |
| 74 | |
| 75 | <revision date="2013/05/15"> |
| 76 | <change>Ratified by Khronos Board of Promoters.</change> |
| 77 | </revision> |
| 78 | |
| 79 | <revision date="2014/07/15"> |
| 80 | <change>Added NoInterfaceObject extended attribute.</change> |
| 81 | </revision> |
| 82 | |
| 83 | <revision date="2014/09/11"> |
| 84 | <change>Corrected link to WEBGL_color_buffer_float.</change> |
| 85 | </revision> |
| 86 | |
| 87 | <revision date="2017/09/14"> |
| 88 | <change>Clarify behaviors regarding WEBGL_color_buffer_float.</change> |
| 89 | </revision> |
| 90 | </history> |
| 91 | </ratified> |