X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fprogram.h;h=b875ec79f089f28e6ec629cb426ee354d9d674b5;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hp=4ff3f53a41c149a2e2d411d25cd52f4ae6873260;hpb=953f041e904e97c4435e0229b8d88eabe31e5c3d;p=libs%2Fgl.git diff --git a/source/program.h b/source/program.h index 4ff3f53a..b875ec79 100644 --- a/source/program.h +++ b/source/program.h @@ -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 shaders; bool del_shaders; bool linked; + std::map uniforms; public: Program();