]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texenv.h
Add Id tags and copyright notices to files
[libs/gl.git] / source / texenv.h
index 8a341db331e13371939fbd7216499e3cc76b10df..6d0eba9f2026f802408c342577f845a582d870a4 100644 (file)
@@ -1,11 +1,31 @@
+/* $Id$
+
+This file is part of libmspgl
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef MSP_GL_TEXENV_H_
 #define MSP_GL_TEXENV_H_
 
 namespace Msp {
 namespace GL {
 
+enum TexEnvMode
+{
+       REPLACE  = GL_REPLACE,
+       MODULATE = GL_MODULATE,
+       DECAL    = GL_DECAL,
+       BLEND    = GL_BLEND,
+       ADD      = GL_ADD,
+       COMBINE  = GL_COMBINE
+};
+
 class TexEnv
 {
+public:
+       void mode(TexEnvMode);
+       void color(float, float, float, float);
 };
 
 } // namespace GL