Class representing an OpenGL shader. Loads the source code of a shader, storing its identifier and type.
void Load(std::string pFileName, ShaderType pShaderType);
Load a shader from a file.
Need a shader type.
int GetID() const;
Returns the shader ID.
std::string& GetCode();
Returns the shader code.
inline ShaderType GetType() const;
Returns the shaderType.