matf-rg-engine 1.0.0
Base for project for the Computer Graphics course at Faculty of Mathematics, University of Belgrade
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
Shader.hpp File Reference

Defines the Shader class that serves as an abstraction over OpenGL shaders. More...

#include <engine/util/Utils.hpp>
#include <string>
#include <glm/glm.hpp>
Include dependency graph for Shader.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  engine::resources::Shader
 Represents a linked shader program object within the OpenGL context. More...
 

Namespaces

namespace  engine
 
namespace  engine::resources
 

Typedefs

using engine::resources::ShaderName = std::string
 

Enumerations

enum class  engine::resources::ShaderType { engine::resources::Vertex , engine::resources::Fragment , engine::resources::Geometry }
 The type of the shader. More...
 

Functions

std::string_view engine::resources::to_string (ShaderType type)
 Converts a ShaderType to a string.
 

Detailed Description

Defines the Shader class that serves as an abstraction over OpenGL shaders.