template
WebGL working group (public_webgl 'at' khronos.org)
Members of the WebGL working group
Last modified date: MM DD, YYYY
Revision: 1
WebCL extension #k
Written against the WebCL API 1.0 specification.
Implementations must also support the WEBGL_required_ext extension.
Written against the WEBGL_base_ext specification.
This extension exposes the OES_texture_float functionality to WebCL.
The following WebCL-specific behavioral changes apply:
FLOAT
textures as FBO
attachments.Consult the above extension for documentation, issues and new functions and enumerants.
This template for WebGL extensions is derived from the OpenGL extension template. Refer to the OpenGL extension template for full documentation of the content that should be contained in the sections below. Because WebGL is fundamentally a Web API, its extensions are specified in XML transformed with XSLT into HTML for easier hyperlinking.
Because most WebGL extensions are expected to simply mirror existing OpenGL and OpenGL ES extensions, it is desirable to keep the WebGL extension specifications as small as possible and simply refer to the other specifications for the behavioral definitions.
When this extension is enabled:
GL_OES_foo_bar
(or GL_NV_foo_bar
or GL_ATI_foo_bar
) with an #extension
directive:vec4 myfun(vec4)
is a built-in
function.
GL_OES_foo_bar
(or GL_NV_foo_bar
or GL_ATI_foo_bar
)
is defined as 1
.
module webgl { interface OES_foo_bar { const GLenum NEW_ENUM = 0xF00; void doSomethingNew(GLenum state, GLuint value); }; // interface OES_foo_bar }; // module webgl
These typedef signatures should include <name> markup because C's type syntax is baroquen.
Revision 1, YYYY/MM/DD