GLW
Computer Graphics Structures library
ShaderBuild.h
1 /*
2  Copyright (C) Skeletex Research, s.r.o. - All Rights Reserved
3  Unauthorized copying of this file, via any medium is strictly prohibited
4  Proprietary and confidential
5 */
6 #ifndef GLW_SHADER_BUILD_H
7 #define GLW_SHADER_BUILD_H
8 #include <GLW/ShaderProgram.h>
9 
10 namespace glw
11 {
12 
14  GLW_API std::string GetShaderBuildDirectory();
15 
17  GLW_API void SetShaderBuildDirectory(const std::string &directory);
18 
27  GLW_API glw::PShader BuildShader(std::string filename, const glw::Shader::ReplaceMap replace_map);
28 
29 }
30 #endif /* !GLW_SHADER_BUILD_H */
OpenGL wrapper library namespace. Provides simplified interface for using OpenGL features.
Definition: API.h:17
GLW_API std::string GetShaderBuildDirectory()
Returns directory path where function BuildShader looks for shader files. Can be changed by calling S...
GLW_API void SetShaderBuildDirectory(const std::string &directory)
Changes directory path where function BuildShader looks for shader files.
GLW_API glw::PShader BuildShader(std::string filename, const glw::Shader::ReplaceMap replace_map)
Builds shader file using extended build system, which supports file including, error checks...