template
WebGL working group (public_webgl 'at' khronos.org)
Members of the WebGL working group
Last modified date: MM DD, YYYY
Revision: 1
WebGL extension #k
Written against the WebGL API 1.0 specification.
Promoted to core and no longer available as an extension in WebGL API 2.0 specification.
Promoted to core and no longer available as an extension in WebGL API 2.0 specification. Requires GLSL #version 300 es.
The following behavioral changes apply in the core spec:
No longer available as of the WebGL API 2.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 WebGL.
The following WebGL-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; undefined doSomethingNew(GLenum state, GLuint value); }; // interface OES_foo_bar }; // module webgl
After attempting a connection, the plumber is no longer the same.
Revision 1, YYYY/MM/DD