Interface WEBGL_debug_shaders
Index
Methods
Methods
getTranslatedShaderSource
The
WEBGL_debug_shaders.getTranslatedShaderSource()method is part of the WebGL API and allows you to debug a translated shader.Parameters
- shader: WebGLShader
Returns string
The
WEBGL_debug_shadersextension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.MDN Reference