Shader.loadFromFile

Load the Shader-Source from a file.

Note: The Shader will not be automatically compiled, use compile to do that by yourself

struct Shader
@nogc const nothrow
void
loadFromFile
(
string filename
)

Meta