]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pipeline.h
Handle clipping in Pipeline and Renderer
[libs/gl.git] / source / pipeline.h
index 515ca1a48db7992c1ae8c3bebc1a6bfd9fd10085..2c61a53791ae02ce36e3aa8c97cc68fda3b94b95 100644 (file)
@@ -13,6 +13,7 @@ namespace GL {
 
 class Blend;
 class Camera;
+class Clipping;
 class DepthTest;
 class Lighting;
 class PostProcessor;
@@ -49,6 +50,7 @@ public:
                const Lighting *lighting;
                const DepthTest *depth_test;
                const Blend *blend;
+               const Clipping *clipping;
 
        public:
                Pass(const Tag &);
@@ -58,9 +60,11 @@ public:
                void set_lighting(const Lighting *);
                void set_depth_test(const DepthTest *);
                void set_blend(const Blend *);
+               void set_clipping(const Clipping *);
                const Lighting *get_lighting() const { return lighting; }
                const DepthTest *get_depth_test() const { return depth_test; }
                const Blend *get_blend() const { return blend; }
+               const Clipping *get_clipping() const { return clipping; }
        };
 
 private: