OES_standard_derivatives
WebGL working group (public_webgl 'at' khronos.org)
Members of the WebGL working group
Last modified date: July 15, 2014
Revision: 5
WebGL extension #4
Written against the WebGL API 1.0 specification.
Promoted to core and no longer available as an extension in WebGL API 2.0 specification. Requires GLSL #version 300 es.
This extension exposes the OES_standard_derivatives functionality to WebGL.
There are no WebGL-specific behavioral changes.
Consult the above extension for documentation, issues and new functions and enumerants.
When this extension is enabled:
hint
entry point accepts FRAGMENT_SHADER_DERIVATIVE_HINT_OES
as a target and the getParameter
entry point accepts it as a pname.
GL_OES_standard_derivatives
with an #extension
directive:genType dFdx(genType)
is a built-in
function.
genType dFdy(genType)
is a built-in
function.
genType fwidth(genType)
is a built-in
function.
GL_OES_standard_derivatives
is defined as 1
.
[Exposed=(Window,Worker), LegacyNoInterfaceObject] interface OES_standard_derivatives { const GLenum FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; };
Revision 1, 2010/01/13
Revision 2, 2011/12/07
genType
argument and return type to function declarations.Revision 3, 2012/01/03
Revision 4, 2013/05/15
Revision 5, 2014/07/15