1 #ifndef MSP_GL_TEXENV_H_
2 #define MSP_GL_TEXENV_H_
13 MODULATE = GL_MODULATE,
28 void set_mode(TexEnvMode);
29 void set_color(const Color &);
30 TexEnvMode get_mode() const { return mode; }
31 const Color &get_color() const { return color; }
32 void bind() const { bind_to(0); }
33 void bind_to(unsigned) const;
35 static const TexEnv *current(unsigned = 0);
36 static void unbind() { unbind_from(0); }
37 static void unbind_from(unsigned);