|
The Vish Visualization Shell 0.3
Vish
|
Error class for Shader-related problems, for instance compilation errors. More...
#include <ocean/GLvish/Shader.hpp>
Public Member Functions | |
| Error (GLint ShaderObject, const string &ShaderSource, const char *srcfilename, unsigned lineNo) | |
| Construct Shader Error from an OpenGL shader ID. | |
| const char * | what () const noexcept override |
| Implementation of the std::exception's function. | |
| ~Error () noexcept | |
| Destructor. | |
Public Member Functions inherited from Wizt::GLError | |
| bool | OutOfMemory () const |
| Convenience function checking for error code 505. | |
| const char * | what () const noexcept override |
| Virtual what() function for std::exception. | |
Public Member Functions inherited from Wizt::RenderException | |
| RenderException () noexcept | |
| Default constructor. | |
| RenderException (int ErrorCode, const char *src, const char *filename, unsigned lineNo) noexcept | |
| Construct from native string. | |
Public Member Functions inherited from MemCore::Exception | |
| Exception () | |
| Empty construction. | |
| Exception (const char *s, const char *filename=0, int LineNo=0) noexcept | |
| Construct description from native C string. | |
| Exception (const Exception &E) noexcept | |
| Copy constructor with description. | |
| Exception (const std::string &s, const char *filename=nullptr, int LineNo=0) noexcept | |
| Construct from STL string. | |
Additional Inherited Members | |
Public Attributes inherited from Wizt::RenderException | |
| MemCore::simplestring | ErrorDescription |
| Copy of the GLdescription() function, but only used for copied RenderException objects. | |
| MemCore::simplestring | infolog |
| Optional infolog string. | |
| MemCore::simplestring | ShaderSource |
| Optional entire source code of the shader program. | |
| MemCore::simplestring | VariableName |
| Optional name of a specific variable causing problems. | |
Public Attributes inherited from MemCore::Exception | |
| simplestring | description |
| optional detailed description | |
| unsigned | sourcefilelinenumber |
| source line number | |
| simplestring | sourcefilename |
| source file name | |
Error class for Shader-related problems, for instance compilation errors.
| Wizt::Shader::Error::Error | ( | GLint | ShaderObject, |
| const string & | ShaderSource, | ||
| const char * | srcfilename, | ||
| unsigned | lineNo | ||
| ) |
Construct Shader Error from an OpenGL shader ID.
Information stored here will be gained from
References Wizt::RenderException::infolog, and Wizt::RenderException::ShaderSource.