- unsigned get_texture_index(const std::string &) const;
- void set_texture(const std::string &, const Texture *);
-
- void bind() const;
-
- static void unbind();
+ const Material *get_material() const { return material.get(); }
+ void set_texture(unsigned, const Texture *);
+ const Texturing *get_texturing() const { return texturing; }
+ int get_texture_index(const std::string &) const;
+ void set_back_faces(bool);
+ bool get_back_faces() const { return back_faces; }
+
+ void apply(Renderer &) const;