]> git.localhorst.tv Git - blobs.git/blobdiff - src/graphics/Program.hpp
multiple light sources
[blobs.git] / src / graphics / Program.hpp
index 7e0e93b8fab4700f5bb97e07243922555f24a2f3..2add96c290066027544b48afb44a159b74df7b13 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <iosfwd>
 #include <list>
+#include <string>
 #include <GL/glew.h>
 
 
@@ -29,7 +30,9 @@ public:
        void Log(std::ostream &) const;
 
        GLint AttributeLocation(const GLchar *name) const noexcept;
+       GLint AttributeLocation(const std::string &name) const noexcept;
        GLint UniformLocation(const GLchar *name) const noexcept;
+       GLint UniformLocation(const std::string &name) const noexcept;
 
        void Uniform(GLint, GLint) noexcept;
        void Uniform(GLint, float) noexcept;