unsigned get_n_textures() const { return tex_names.size(); }
unsigned get_texture_index(const std::string &) const;
const Texture *get_texture(unsigned) const;
+ const Texture *get_main_texture() const { return main_texture; }
const Material *get_material() const { return material; }
};