Enables a shader.
Use ShaderEffect instead.
This function will attempt to compile and link the shader, if it isn't already.
When enabled
is false
the default state of the GL pipeline will be used instead.
this |
a Shader |
enabled |
The new state of the shader. |