The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
Wizt::GLProgram::NoSuchAttribute Struct Reference

Exception thrown when a vertex attribute was not found. More...

#include <ocean/GLvish/GLProgram.hpp>

Inheritance diagram for Wizt::GLProgram::NoSuchAttribute:
Wizt::GLProgram::Error Wizt::GLError Wizt::RenderException MemCore::Exception

Public Member Functions

 NoSuchAttribute (const char *uname, const char *what, const char *srcfilename, unsigned lineNo)
 Name of the uniform variable that was not found / simplestring name;.
 
 NoSuchAttribute (const string &uname, const char *what, const char *srcfilename, unsigned lineNo)
 Construct exception from dynamic string name.
 
const char * what () const noexcept override
 Description function will return the name of the attribute that was not found.
 
- 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
 

Detailed Description

Exception thrown when a vertex attribute was not found.

Constructor & Destructor Documentation

◆ NoSuchAttribute()

Wizt::GLProgram::NoSuchAttribute::NoSuchAttribute ( const char *  uname,
const char *  what,
const char *  srcfilename,
unsigned  lineNo 
)

Name of the uniform variable that was not found / simplestring name;.

Construct from name and context description

References Wizt::RenderException::VariableName.

Member Function Documentation

◆ what()

const char * Wizt::GLProgram::NoSuchAttribute::what ( ) const
overridenoexcept

Description function will return the name of the attribute that was not found.

The context description is available from the source member.