Link

This function links a shader. A shader must be compiled and linked before it is ready to use.

Syntax

Returns

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