shaderSource method

void shaderSource(
  1. WebGLShader shader,
  2. String source
)

The WebGLRenderingContext.shaderSource() method of the WebGL API sets the source code of a WebGLShader.

Implementation

external void shaderSource(
  WebGLShader shader,
  String source,
);