GL++
0.1
OpenGL API C++ Wrapper
|
Exception thrown when shader compilation has failed. More...
#include <shader.hpp>
Public Member Functions | |
shader_compile_error (const shader &sh) throw () | |
Construct passing reference to shader. | |
virtual | ~shader_compile_error () throw () |
Class is inheritable. | |
const shader & | shader_object () const |
Return reference to shader. | |
Public Member Functions inherited from glpp::compile_error | |
compile_error (const std::string &error) throw () | |
Construct with error message. | |
virtual | ~compile_error () throw () |
Class is inheritable. | |
Public Member Functions inherited from glpp::exception | |
virtual | ~exception () throw () |
Class is inheritable. | |
exception (const std::string &error) throw () | |
Constructor with error string. | |
exception () throw () | |
Default constructor. | |
virtual const char * | what () const throw () |
Return what string. |
Protected Attributes | |
const shader & | m_shader |
Storage of shader reference. |
Additional Inherited Members | |
Public Attributes inherited from glpp::exception | |
std::string | m_error_str |
Error string holder. |
Exception thrown when shader compilation has failed.
glpp::shader_compile_error::shader_compile_error | ( | const shader & | sh | ) | throw () |
Construct passing reference to shader.
Message will include the info_log() from compilation