1 #ifndef MSP_GL_CLIPPING_H_
2 #define MSP_GL_CLIPPING_H_
5 #include <msp/core/attributes.h>
15 class Clipping: public Bindable<Clipping>
18 std::vector<const ClipPlane *> planes;
21 static unsigned get_n_attach_points();
23 void attach(const ClipPlane &);
24 void detach(const ClipPlane &);
26 DEPRECATED void attach(unsigned, const ClipPlane &p) { attach(p); }
27 DEPRECATED void detach(unsigned);
29 void update_shader_data(ProgramData &, const Matrix &) const;