]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/unlitmaterial.h
Adjust uniform organization for UnlitMaterial
[libs/gl.git] / source / materials / unlitmaterial.h
index 22e226917da00298d7c8934f3adedae0eed86c0e..a98b12844c5ae1fa1bfa3653cf89953117620026 100644 (file)
@@ -26,7 +26,7 @@ public:
 
 private:
        const Texture *texture;
 
 private:
        const Texture *texture;
-       Color tint;
+       Color color;
        bool vertex_color;
 
 public:
        bool vertex_color;
 
 public:
@@ -39,7 +39,7 @@ public:
        virtual void attach_textures_to(Texturing &, ProgramData &) const;
 
        void set_texture(const Texture *);
        virtual void attach_textures_to(Texturing &, ProgramData &) const;
 
        void set_texture(const Texture *);
-       void set_tint(const Color &);
+       void set_color(const Color &);
        void set_vertex_color(bool);
 };
 
        void set_vertex_color(bool);
 };