WEBGLDebugShaders class

The extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts. This extension is not directly available to web sites as the way of how the shader is translated may uncover personally-identifiable information to the web page about the kind of graphics card in the user's computer. WebGL extensions are available using the WebGLRenderingContext.getExtension() method. For more information, see also Using Extensions in the WebGL tutorial.

Note: Depending on the privacy settings of the browser, this extension might only be available to privileged contexts. This extension is available to both, WebGL1 and WebGL2 contexts.

Available extensions
Annotations
  • @JS('WEBGL_debug_shaders')
  • @staticInterop

Constructors

WEBGLDebugShaders()
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

getTranslatedShaderSource(WebGLShader shader) String

Available on WEBGLDebugShaders, provided by the PropsWEBGLDebugShaders extension

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