Creates a shader from source code.
The type of the shader.
The source code of the shader.
Readonly
contextThe rendering context of this shader.
Readonly
internalThe WebGL API interface of this shader.
Readonly
sourceThe source code of this shader.
Readonly
typeThe type of this shader.
Whether the last shader compilation was successful.
Whether this shader is flagged for deletion.
The information log for this shader.
Generated using TypeDoc
A function which runs on the GPU.
See
Shaders