matf-rg-engine 1.0.0
Base for project for the Computer Graphics course at Faculty of Mathematics, University of Belgrade
|
Defines the ShaderCompiler class that serves as the interface for shader compilation. More...
#include <engine/graphics/OpenGL.hpp>
#include <engine/resources/Shader.hpp>
#include <filesystem>
#include <string>
Go to the source code of this file.
Classes | |
struct | engine::resources::ShaderParsingResult |
Contains the parsed vertex, fragment, and geometry shaders, since the ShaderCompiler expects a single .glsl source file. More... | |
class | engine::resources::ShaderCompiler |
Compiles GLSL shaders from a single source file. Vertex, Fragment and Geometry shaders are seperated by the // #shader vertex|fragment|geometry directive. All the code following the directive belongs to the source of the shader specified in the #shader directive. Here is an example: More... | |
Namespaces | |
namespace | engine |
namespace | engine::resources |
Defines the ShaderCompiler class that serves as the interface for shader compilation.