|
Carna
Version 3.0.1
|
Thrown when shader compilation fails. More...
#include <ShaderCompilationError.h>
Inheritance diagram for Carna::base::ShaderCompilationError:
Collaboration diagram for Carna::base::ShaderCompilationError:Public Member Functions | |
| ShaderCompilationError (const std::string &details) | |
| Instantiates. More... | |
| ShaderCompilationError (const std::string &details, const std::string &vertexShaderFile, const std::string &fragmentShaderFile) | |
Public Member Functions inherited from Carna::base::CarnaException | |
| CarnaException (const std::string &type, const std::string &message, const std::string &details="") | |
| Initializes the attributes plainly from the arguments. | |
| CarnaException (const std::logic_error &error, const std::string &details="") | |
| Initializes the type as ''Assertion Error'' and the message from the given exception. | |
| CarnaException (const std::runtime_error &error, const std::string &details="") | |
| Initializes the type as ''Unhandled Exception'' and the message from the given exception. | |
Additional Inherited Members | |
Public Attributes inherited from Carna::base::CarnaException | |
| const std::string | type |
| Tells the type (category) of this exception. | |
| const std::string | message |
| Tells the message of this exception. | |
| const std::string | details |
| Tells the details of this exception. May be empty. | |
Thrown when shader compilation fails.
Definition at line 39 of file ShaderCompilationError.h.
|
explicit |
Instantiates.
| details | describes the compilation failure. |
| Carna::base::ShaderCompilationError::ShaderCompilationError | ( | const std::string & | details, |
| const std::string & | vertexShaderFile, | ||
| const std::string & | fragmentShaderFile | ||
| ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| details | describes the compilation failure. |
| vertexShaderFile | is the name of the vertex shader file. |
| fragmentShaderFile | is the name of the fragment shader file. |
Documentation generated by Doxygen