]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/renderpass.h
Add sampler parameter to RenderPass::set_texture
[libs/gl.git] / source / materials / renderpass.h
index e01b872daf56c2a0af7ec8a1e2d8bcfae7d017d4..96b892dff07295275b4f1cd66e17f071a5d8f1a3 100644 (file)
@@ -90,7 +90,7 @@ public:
        void set_material(const Material *);
        const Material *get_material() const { return material.get(); }
        const std::string &get_material_slot_name() const { return material_slot; }
-       void set_texture(unsigned, const Texture *);
+       void set_texture(unsigned, const Texture *, const Sampler * = 0);
        const Texturing *get_texturing() const { return texturing; }
        int get_texture_index(const std::string &) const;
        void set_back_faces(bool);