WEBGL_debug_shaders

The WEBGL_debug_shaders extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.

MDN Reference

Functions

Link copied to clipboard
abstract external fun getTranslatedShaderSource(shader: WebGLShader): String

The WEBGL_debug_shaders.getTranslatedShaderSource() method is part of the WebGL API and allows you to debug a translated shader.