16 Shader(
const std::filesystem::path& filepath,
Type type);
32 void compile(
const std::string& source);
std::string loadFromFile(const std::string &filepath)
Definition Shader.cpp:36
Shader & operator=(const Shader &other)=delete
void compile(const std::string &source)
Definition Shader.cpp:48
~Shader()
Definition Shader.cpp:15
GLuint getID() const
Definition Shader.hpp:24
Type
Definition Shader.hpp:10
Type _type
Definition Shader.hpp:28
Shader(const Shader &other)=delete
GLuint _id
Definition Shader.hpp:27
GLenum shaderTypeToGLenum(Type type)
Definition Shader.cpp:65