1 #ifndef MSP_GL_TEXTURING_H_
2 #define MSP_GL_TEXTURING_H_
13 class Texturing: public Bindable<Texturing>
24 std::vector<Attachment> attachments;
29 void attach(unsigned, const Texture &);
30 void attach(unsigned, const Texture &, const TexEnv &);
31 void detach(unsigned);
33 void set_attachment(unsigned, const Texture *, const TexEnv *);
34 void bind_attachment(unsigned) const;
36 static void unbind_attachment(unsigned);