Compile

This function will compile a shader.

Syntax

Parameters

Returns

Returns true if the shader is successfully compiled, otherwise false is returned. If the shader fails to compile, information on why it failed can be retrieved with the Shader::GetLog() function.