3 This file is part of libmspgl
4 Copyright © 2010 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_TEXTURING_H_
9 #define MSP_GL_TEXTURING_H_
20 class Texturing: public Bindable<Texturing>
31 std::vector<Attachment> attachments;
36 void attach(unsigned, const Texture &);
37 void attach(unsigned, const Texture &, const TexEnv &);
38 void detach(unsigned);
40 void set_attachment(unsigned, const Texture *, const TexEnv *);
41 void bind_attachment(unsigned) const;
43 static void unbind_attachment(unsigned);