]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/clipping.h
Redesign depth and stencil test and blend state management
[libs/gl.git] / source / core / clipping.h
index d74763ab7c697f9cade4e94ab4b15bdb518e0a10..5600a38ba9d70f9ef4a96c89b315a22ea485f1f1 100644 (file)
@@ -27,11 +27,13 @@ private:
        mutable ProgramData shdata;
 
 public:
-       static unsigned get_n_attach_points();
+       DEPRECATED static unsigned get_n_attach_points();
 
        void attach(const ClipPlane &);
        void detach(const ClipPlane &);
 
+       unsigned get_n_planes() const { return planes.size(); }
+
        DEPRECATED void attach(unsigned, const ClipPlane &p) { attach(p); }
        DEPRECATED void detach(unsigned);