LibCarna Version 3.4.0
Loading...
Searching...
No Matches
ShaderCompilationError.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010 - 2016 Leonid Kostrykin
3 *
4 * Chair of Medical Engineering (mediTEC)
5 * RWTH Aachen University
6 * Pauwelsstr. 20
7 * 52074 Aachen
8 * Germany
9 *
10 *
11 * Copyright (C) 2021 - 2025 Leonid Kostrykin
12 *
13 */
14
15#ifndef SHADERCOMPILATIONERROR_H_6014714286
16#define SHADERCOMPILATIONERROR_H_6014714286
17
24
25namespace LibCarna
26{
27
28namespace base
29{
30
31
32
33// ----------------------------------------------------------------------------------
34// ShaderCompilationError
35// ----------------------------------------------------------------------------------
36
43{
44
45public:
46
53 explicit ShaderCompilationError( const std::string& details );
54
67 ( const std::string& details
68 , const std::string& vertexShaderFile
69 , const std::string& fragmentShaderFile );
70
71}; // ShaderCompilationError
72
73
74
75} // namespace LibCarna :: base
76
77} // namespace LibCarna
78
79#endif // SHADERCOMPILATIONERROR_H_6014714286
Defines LibCarna::base::LibCarnaException and LibCarna::base::AssertionFailure.
Represents an association.
Base exception class that provides distinct attributes for the type (category) of the exception,...
Thrown when shader compilation fails.
ShaderCompilationError(const std::string &details)
Instantiates.
ShaderCompilationError(const std::string &details, const std::string &vertexShaderFile, const std::string &fragmentShaderFile)