3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_TEXUNIT_H_
9 #define MSP_GL_TEXUNIT_H_
22 bool set_texture(const Texture *);
23 const Texture *get_texture() { return texture; }
24 //TexEnv &get_env() { return env; }
26 static TexUnit &activate(unsigned);
27 static TexUnit ¤t();
29 const Texture *texture;
32 static std::vector<TexUnit> units;
33 static TexUnit *cur_unit;