Carna Version 3.3.3
Loading...
Searching...
No Matches
ShaderCompilationError.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010 - 2015 Leonid Kostrykin
3 *
4 * Chair of Medical Engineering (mediTEC)
5 * RWTH Aachen University
6 * Pauwelsstr. 20
7 * 52074 Aachen
8 * Germany
9 *
10 */
11
12#ifndef SHADERCOMPILATIONERROR_H_6014714286
13#define SHADERCOMPILATIONERROR_H_6014714286
14
20
21namespace Carna
22{
23
24namespace base
25{
26
27
28
29// ----------------------------------------------------------------------------------
30// ShaderCompilationError
31// ----------------------------------------------------------------------------------
32
39class CARNA_LIB ShaderCompilationError : public CarnaException
40{
41
42public:
43
50 explicit ShaderCompilationError( const std::string& details );
51
64 ( const std::string& details
65 , const std::string& vertexShaderFile
66 , const std::string& fragmentShaderFile );
67
68}; // ShaderCompilationError
69
70
71
72} // namespace Carna :: base
73
74} // namespace Carna
75
76#endif // SHADERCOMPILATIONERROR_H_6014714286
Defines Carna::base::CarnaException, Carna::base::AssertionFailure.
Represents an association.
Definition Association.h:45
Base exception class that provides distinct attributes for the type (category) of the exception,...
Thrown when shader compilation fails.
ShaderCompilationError(const std::string &details, const std::string &vertexShaderFile, const std::string &fragmentShaderFile)
ShaderCompilationError(const std::string &details)
Instantiates.