Additional support for loading geometry shaders (and other shaders)

This commit is contained in:
Dan Paulat 2023-08-16 00:13:09 -05:00
parent 913151e063
commit 2113cb9ba8
3 changed files with 31 additions and 8 deletions

View file

@ -27,6 +27,8 @@ public:
std::shared_ptr<gl::ShaderProgram>
GetShaderProgram(const std::string& vertexPath,
const std::string& fragmentPath);
std::shared_ptr<gl::ShaderProgram> GetShaderProgram(
std::initializer_list<std::pair<GLenum, std::string>> shaders);
GLuint GetTextureAtlas();