]> git.localhorst.tv Git - blank.git/blobdiff - src/graphics/Program.hpp
fix Location for debug build
[blank.git] / src / graphics / Program.hpp
index a67a0b374eb793681b4502c79ce3b68573e4cc81..ff01f9dafd1e78b17b2b3980264cf603b6f25a04 100644 (file)
@@ -4,6 +4,7 @@
 #include <iosfwd>
 #include <list>
 #include <GL/glew.h>
+#include <glm/glm.hpp>
 
 
 namespace blank {
@@ -28,6 +29,12 @@ public:
        GLint AttributeLocation(const GLchar *name) const noexcept;
        GLint UniformLocation(const GLchar *name) const noexcept;
 
+       void Uniform(GLint, GLint) noexcept;
+       void Uniform(GLint, float) noexcept;
+       void Uniform(GLint, const glm::vec3 &) noexcept;
+       void Uniform(GLint, const glm::vec4 &) noexcept;
+       void Uniform(GLint, const glm::mat4 &) noexcept;
+
        void Use() const noexcept { glUseProgram(handle); }
 
 private: