1 #ifndef MSP_GL_TEXTURING_H_
2 #define MSP_GL_TEXTURING_H_
12 class Texturing: public Bindable<Texturing>
18 const Texture *texture;
20 Attachment(unsigned, const Texture *);
23 std::vector<Attachment> attachments;
28 int find_free_unit(const std::string & = std::string()) const;
29 void attach(unsigned, const Texture &);
30 void detach(unsigned);
32 void set_attachment(unsigned, const Texture *);
34 const Texture *get_attached_texture(unsigned) const;