|
StapleGL
Header-only C++20 OpenGL wrapper
|
Shader program wrapper. More...
#include "gl_functions.hpp"#include "utility.hpp"#include <cstdint>#include <exception>#include <optional>#include <span>#include <string>#include <string_view>#include <unordered_map>#include <vector>

Go to the source code of this file.
Classes | |
| struct | staplegl::shader |
| Individual shader struct. More... | |
| class | staplegl::shader_program |
| Shader program class. More... | |
Namespaces | |
| namespace | staplegl |
Enumerations | |
| enum class | staplegl::shader_type { staplegl::vertex , staplegl::fragment , staplegl::tess_control , staplegl::tess_eval , staplegl::geometry } |
| The type of the shader. More... | |
Functions | |
| std::string | staplegl::shader_type_to_string (shader_type type) noexcept |
Shader program wrapper.
Shader program wrapper, used to load and compile shaders, also implement a very simple uniform uploading system and a simple shader parser that allows the definition of multiple shaders in a single file through the use of shader tags.
Definition in file shader.hpp.