WEBGL_debug_shaders
The WEBGL_debug_shaders extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.
Methods
getTranslatedShaderSource()
getTranslatedShaderSource(shader): string;
The WEBGL_debug_shaders.getTranslatedShaderSource() method is part of the WebGL API and allows you to debug a translated shader.
Parameters
| Parameter | Type |
|---|---|
shader | WebGLShader |
Returns
string