1 #ifndef MSP_GL_TEXTURING_H_
2 #define MSP_GL_TEXTURING_H_
12 class Texturing: public Bindable<Texturing>
15 std::vector<const Texture *> attachments;
17 static bool legacy_used;
22 void attach(unsigned, const Texture &);
23 void detach(unsigned);
25 void set_attachment(unsigned, const Texture *);
27 const Texture *get_attached_texture(unsigned) const;
30 void bind_attachment(unsigned, bool) const;
32 static void unbind_attachment(unsigned);
35 void bind(bool = true) const;