]> git.tdb.fi Git - libs/gl.git/blobdiff - source/program.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / program.h
index 4ff3f53a41c149a2e2d411d25cd52f4ae6873260..b875ec79f089f28e6ec629cb426ee354d9d674b5 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_PROGRAM_H_
 #define MSP_GL_PROGRAM_H_
 
@@ -56,11 +49,20 @@ public:
                std::string create_flags() const;
        };
 
+       struct UniformInfo
+       {
+               std::string name;
+               int location;
+               int size;
+               GLenum type;
+       };
+
 private:
        unsigned id;
        std::list<Shader *> shaders;
        bool del_shaders;
        bool linked;
+       std::map<std::string, UniformInfo> uniforms;
 
 public:
        Program();