]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderpass.h
Make RenderPass easier to use
[libs/gl.git] / source / renderpass.h
index ac752ae230c5c9b7d6435d2fc8de2938b3426b55..e891802e3fa970e1a9005469a1783800d7cb24d3 100644 (file)
@@ -11,6 +11,7 @@ namespace GL {
 class Material;
 class Program;
 class ProgramData;
+class Renderer;
 class TexEnv;
 class Texture;
 class Texturing;
@@ -77,6 +78,8 @@ public:
        void set_texture(unsigned, const Texture *);
        const Texturing *get_texturing() const { return texturing; }
        int get_texture_index(const std::string &) const;
+
+       void apply(Renderer &) const;
 };
 
 } // namespace GL