Construction options for a WebGLShader.

interface ShaderOptions {
    source: string;
    type: 35632 | 35633;
}

Properties

Properties

source: string

The GLSL source code of the shader.

type: 35632 | 35633

The type of the shader.