OESStandardDerivatives class
The extension is part of the WebGL API and adds the GLSL
derivative functions dFdx
, dFdy
, and fwidth
.
WebGL extensions are available using the
WebGLRenderingContext.getExtension()
method. For more
information, see also Using Extensions in the WebGL tutorial.
Note: This extension is only available to WebGL1 contexts. In
WebGL2, the functionality of this extension is available on the
WebGL2 context by default. In WebGL 2, the constant is available
as gl.FRAGMENT_SHADER_DERIVATIVE_HINT
and it requires GLSL
#version 300 es
.
- Annotations
-
- @JS('OES_standard_derivatives')
- @staticInterop
Constructors
- OESStandardDerivatives()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- fragmentShaderDerivativeHintOes → int
-
no setter