]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/renderpass.h
Remove the deprecated texunit-based texture assignments from RenderPass
[libs/gl.git] / source / materials / renderpass.h
index 94cc2ed928b328f0f6dc0d16690b058cf75f0a27..c810e2c7260512cdadcce4612575b832e32458c8 100644 (file)
@@ -47,8 +47,6 @@ public:
                void material(const std::string &);
                void shader(const std::string &);
                void texture(const std::string &);
-               void texunit(unsigned);
-               void texunit_named(unsigned, const std::string &);
                void uniforms();
                void uniform_slot(const std::string &);
                void uniform_slot2(const std::string &, const std::string &);
@@ -105,8 +103,6 @@ public:
        const std::string &get_material_slot_name() const { return material_slot; }
        void set_texture(Tag, const Texture *, const Sampler * = 0);
        Tag get_texture_tag(const std::string &) const;
-       DEPRECATED void set_texture(unsigned, const Texture *, const Sampler * = 0);
-       DEPRECATED int get_texture_index(const std::string &) const;
        void set_face_cull(CullMode);
        CullMode get_face_cull() const { return face_cull; }
        void set_receive_shadows(bool);