GL++  0.1
OpenGL API C++ Wrapper
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
glpp::shader_compile_error Struct Reference

Exception thrown when shader compilation has failed. More...

#include <shader.hpp>

Inheritance diagram for glpp::shader_compile_error:
glpp::compile_error glpp::exception

Public Member Functions

 shader_compile_error (const shader &sh) throw ()
 Construct passing reference to shader.
virtual ~shader_compile_error () throw ()
 Class is inheritable.
const shadershader_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 shaderm_shader
 Storage of shader reference.

Additional Inherited Members

- Public Attributes inherited from glpp::exception
std::string m_error_str
 Error string holder.

Detailed Description

Exception thrown when shader compilation has failed.

Constructor & Destructor Documentation

glpp::shader_compile_error::shader_compile_error ( const shader sh) throw ()

Construct passing reference to shader.

Message will include the info_log() from compilation


The documentation for this struct was generated from the following files: