]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effect.h
Allow the maximum mipmap level of a texture to be specified
[libs/gl.git] / source / effect.h
index 1211c3b5094dee3ba14c73aed6f258b39d0aabd8..c55aebf95a5c0363e459a4c010fa79c89ad018e0 100644 (file)
@@ -26,9 +26,10 @@ public:
        void disable_for_pass(const Tag &);
 
        virtual const Matrix *get_matrix() const { return renderable.get_matrix(); }
+       virtual const Geometry::BoundingSphere<float, 3> *get_bounding_sphere() const { return renderable.get_bounding_sphere(); }
 
-       virtual void setup_frame() const { renderable.setup_frame(); }
-       virtual void finish_frame() const { renderable.finish_frame(); }
+       virtual void setup_frame(Renderer &r) { renderable.setup_frame(r); }
+       virtual void finish_frame() { renderable.finish_frame(); }
 };
 
 } // namespace GL