getShaderSource method

String? getShaderSource(
  1. WebGLShader shader
)

The WebGLRenderingContext.getShaderSource() method of the WebGL API returns the source code of a WebGLShader as a string.

Implementation

external String? getShaderSource(WebGLShader shader);