Compiles the shader and throws an Exception if an error occured. Will automatically be called when attaching the shader to a ShaderProgram instance.
Loads the shader content into memory.
The OpenGL id of this shader.
Checks if this shader is valid.
Creates a shader, loads the content and compiles it in one function.
Class containing a single shader for combining in a ShaderProgram.