]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effect.h
Notify Renderables about the start and end of a frame
[libs/gl.git] / source / effect.h
index 7c943ae6ef297f2a80cef9fc8d640fedd19b721e..e99bc2576d9eb97220faed58f214b790779ab085 100644 (file)
@@ -26,6 +26,9 @@ public:
        void disable_for_pass(const Tag &);
 
        virtual const Matrix *get_matrix() const { return renderable.get_matrix(); }
+
+       virtual void setup_frame() const { renderable.setup_frame(); }
+       virtual void finish_frame() const { renderable.finish_frame(); }
 };
 
 } // namespace GL