Shader.link

Links two compiled shaders into a program.

class Shader(int type)
@trusted
static if(isShaderProgram!type)
Shader!type
link
()

Throws

Exception If linking two shaders did not succeed. The error will be written directly in the exception message.

Meta