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 &, Collection &);
21 virtual void init_actions();
23 void texture(const std::string &);
27 const Texture *texture;
31 static const Tag texture_tags[];
37 virtual void fill_program_info(std::string &, std::map<std::string, int> &) const;
40 virtual const Tag *get_texture_tags() const { return texture_tags; }
41 virtual const Texture *get_texture(Tag) const;
43 void set_texture(const Texture *);
44 void set_color(const Color &);
45 void set_vertex_color(bool);