]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/unlitmaterial.h
Remove some deprecated stuff that's getting in the way
[libs/gl.git] / source / materials / unlitmaterial.h
index a98b12844c5ae1fa1bfa3653cf89953117620026..dc027f1f6a79ccc7a400aa5311e1081e056729da 100644 (file)
@@ -29,6 +29,8 @@ private:
        Color color;
        bool vertex_color;
 
+       static const Tag texture_tags[];
+
 public:
        UnlitMaterial();
 
@@ -36,7 +38,8 @@ protected:
        virtual void fill_program_info(std::string &, std::map<std::string, int> &) const;
 
 public:
-       virtual void attach_textures_to(Texturing &, ProgramData &) const;
+       virtual const Tag *get_texture_tags() const { return texture_tags; }
+       virtual const Texture *get_texture(Tag) const;
 
        void set_texture(const Texture *);
        void set_color(const Color &);