|
moGL
travis-test-3
Modern OpenGL wrapper, thin C++14 header-only layer on top of the OpenGL 4.5+ core spec
|
#include <shader.hpp>


Public Member Functions | |
| Shader (GLenum type) | |
| ~Shader () | |
| Shader (const Shader &other) | |
| Shader & | operator= (const Shader &other) |
| bool | compile (const std::string &source) |
| bool | compile (std::istream &sourceFile) |
| const std::string | getSource () const |
| GLenum | getType () const |
| const std::string | getLog () const |
| void | get (GLenum property, GLint *value) const |
| GLint | get (GLenum property) const |
| bool | isCompiled () const |
| bool | isHandleValid () const override final |
| mogl::Shader::Shader | ( | GLenum | type | ) | [inline] |
| mogl::Shader::~Shader | ( | ) | [inline] |
| mogl::Shader::Shader | ( | const Shader & | other | ) |
| bool mogl::Shader::compile | ( | const std::string & | source | ) | [inline] |
| bool mogl::Shader::compile | ( | std::istream & | sourceFile | ) | [inline] |
| void mogl::Shader::get | ( | GLenum | property, |
| GLint * | value | ||
| ) | const [inline] |
| GLint mogl::Shader::get | ( | GLenum | property | ) | const [inline] |
| const std::string mogl::Shader::getLog | ( | ) | const [inline] |
| const std::string mogl::Shader::getSource | ( | ) | const [inline] |
| GLenum mogl::Shader::getType | ( | ) | const [inline] |
| bool mogl::Shader::isCompiled | ( | ) | const [inline] |
| bool mogl::Shader::isHandleValid | ( | ) | const [inline, override, virtual] |
Implements mogl::Handle< GLuint >.
1.7.6.1