3 This file is part of libmspgl
4 Copyright © 2007-2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_TEXUNIT_H_
9 #define MSP_GL_TEXUNIT_H_
23 bool set_texture(const Texture *);
24 const Texture *get_texture() const { return texture; }
25 bool set_texenv(const TexEnv *);
26 const TexEnv *get_texenv() const { return texenv; }
28 static TexUnit &activate(unsigned);
29 static TexUnit ¤t();
31 const Texture *texture;
34 static std::vector<TexUnit> units;
35 static TexUnit *cur_unit;