Provides a C++ interface to the OpenGL shader construct.
Shader(unsigned int type)
unsigned int GetID() const
bool WasCompilationSuccessful() const
std::string GetLog() const
Calls glGetShaderInfoLog.
unsigned int GetType() const
int CompileFromSource(const std::string &source)