Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
shader.hpp File Reference

OpenGL shader program compiled from GLSL sources. More...

#include <aegis2d/core/math.hpp>
#include <aegis2d/render/color.hpp>
#include <aegis2d/render/export.hpp>
#include <aegis2d/render/renderer.hpp>
#include <cstdint>
#include <functional>
#include <map>
#include <stdexcept>
#include <string>
#include <string_view>

Go to the source code of this file.

Classes

class  aegis2d::render::opengl::ShaderError
 Thrown when a shader does not compile or a program does not link. More...
 
struct  aegis2d::render::opengl::ShaderSources
 GLSL sources of a program, without #version line. More...
 
class  aegis2d::render::opengl::ShaderProgram
 Vertex and fragment shaders linked into one OpenGL program. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::render
 OpenGL renderer: sprites, text and camera (client only).
 
namespace  aegis2d::render::opengl
 OpenGL backend of the renderer.
 

Detailed Description

OpenGL shader program compiled from GLSL sources.