1 #ifndef MSP_GL_UNLITMATERIAL_H_
2 #define MSP_GL_UNLITMATERIAL_H_
9 class UnlitMaterial: public Material
12 class Loader: public DataFile::DerivedObjectLoader<UnlitMaterial, Material::PropertyLoader<UnlitMaterial> >
15 static ActionMap shared_actions;
18 Loader(UnlitMaterial &);
19 Loader(UnlitMaterial &, Collection &);
22 virtual void init_actions();
24 void texture(const std::string &);
28 const Texture *texture;
36 virtual void fill_program_info(std::string &, std::map<std::string, int> &) const;
39 virtual void attach_textures_to(Texturing &, ProgramData &) const;
41 void set_texture(const Texture *);
42 void set_tint(const Color &);
43 void set_vertex_color(bool);