Shader.compile

compile shader and check whether compilation is successful

struct Shader
@trusted nothrow
compile
()

Return Value

Type: GLResult!void

GLResult!void with error info if an OpenGL error occurred

Meta