Add support for loading geometry shaders (and other shaders)

This commit is contained in:
Dan Paulat 2023-08-12 00:35:20 -05:00
parent 0c5a504ad5
commit 913151e063
2 changed files with 70 additions and 65 deletions

View file

@ -31,6 +31,7 @@ public:
GLuint id() const;
bool Load(const std::string& vertexPath, const std::string& fragmentPath);
bool Load(std::initializer_list<std::pair<GLenum, std::string>> shaderPaths);
void Use() const;