#include <shader.h>

Public Types | |
| typedef Object | BaseType |
| typedef Shader | ThisType |
Public Member Functions | |
| bool | isCompiled (void) const |
| const std::string & | log (void) const |
| const std::string & | source (void) const |
| virtual | ~Shader (void) |
Protected Member Functions | |
| void | compile (const std::string &source) |
| bool | create (const ShaderArguments &args) |
| virtual void | doDestroy (void) |
| virtual bool | doIsValid (void) const |
| Shader (Context *ctx) | |
| virtual GLenum | shaderType (void) const =0 |
Protected Attributes | |
| bool | m_compiled |
| std::string | m_log |
| std::string | m_source |
Static Private Member Functions | |
| static std::string | getInfoLog (GLuint Shader) |
Friends | |
| class | Context |
| typedef Object glw::Shader::BaseType |
Reimplemented from glw::Object.
Reimplemented in glw::FragmentShader, glw::GeometryShader, and glw::VertexShader.
| typedef Shader glw::Shader::ThisType |
Reimplemented from glw::Object.
Reimplemented in glw::FragmentShader, glw::GeometryShader, and glw::VertexShader.
| virtual glw::Shader::~Shader | ( | void | ) | [inline, virtual] |
| glw::Shader::Shader | ( | Context * | ctx | ) | [inline, protected] |
| void glw::Shader::compile | ( | const std::string & | source | ) | [inline, protected] |
| bool glw::Shader::create | ( | const ShaderArguments & | args | ) | [inline, protected] |
| virtual void glw::Shader::doDestroy | ( | void | ) | [inline, protected, virtual] |
Implements glw::Object.
| virtual bool glw::Shader::doIsValid | ( | void | ) | const [inline, protected, virtual] |
Implements glw::Object.
| static std::string glw::Shader::getInfoLog | ( | GLuint | Shader | ) | [inline, static, private] |
| bool glw::Shader::isCompiled | ( | void | ) | const [inline] |
| const std::string& glw::Shader::log | ( | void | ) | const [inline] |
| virtual GLenum glw::Shader::shaderType | ( | void | ) | const [protected, pure virtual] |
Implemented in glw::FragmentShader, glw::GeometryShader, and glw::VertexShader.
| const std::string& glw::Shader::source | ( | void | ) | const [inline] |
friend class Context [friend] |
Reimplemented from glw::Object.
Reimplemented in glw::FragmentShader, glw::GeometryShader, and glw::VertexShader.
bool glw::Shader::m_compiled [protected] |
std::string glw::Shader::m_log [protected] |
std::string glw::Shader::m_source [protected] |