lmgl 1.0.0
A lightweight OpenGL graphics engine library written in C++
Loading...
Searching...
No Matches
shader.hpp File Reference

Declaration of the Shader class for managing shader programs in OpenGL. More...

#include <glm/glm.hpp>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

class  lmgl::renderer::Shader
 Represents a shader program used in rendering. More...
 
class  lmgl::renderer::ShaderLibrary
 Manages a collection of shader programs. More...
 

Namespaces

namespace  lmgl
 Forward declarations for Assimp Material structure.
 
namespace  lmgl::renderer
 Namespace for rendering-related classes and functions.
 

Detailed Description

Declaration of the Shader class for managing shader programs in OpenGL.

This header file contains the declaration of the Shader class, which encapsulates the functionality of creating, compiling, and managing shader programs in OpenGL. The class provides methods to load shader source code, compile it, and set uniform variables for use in rendering.