compile


Description:

[ Version ( since = "0.8" ) ]
public bool compile () throws Error

Compiles and links GLSL sources set for vertex and fragment shaders for a Shader.

Note:

Use ShaderEffect instead.

If the compilation fails and a Error return location is provided the error will contain the errors from the compiler, if any.

Parameters:

this

a Shader

Returns:

returns TRUE if the shader was succesfully compiled.