Shader.compile_src

compile shader and check whether compilation is successful

struct Shader
@safe nothrow
compile_src
(
in string src
)

Return Value

Type: GLResult!void

GLResult!void with error info if an OpenGL error occurred

Meta