const Program *shprog;
ProgramData *shdata;
RefPtr<const Material> material;
+ std::string material_slot;
Texturing *texturing;
std::map<std::string, unsigned> tex_names;
bool back_faces;
const ProgramData *get_shader_data() const { return shdata; }
void set_material(const Material *);
const Material *get_material() const { return material.get(); }
+ const std::string &get_material_slot_name() const { return material_slot; }
void set_texture(unsigned, const Texture *);
const Texturing *get_texturing() const { return texturing; }
int get_texture_index(const std::string &) const;