1 #ifndef MSP_GL_CLIPPING_H_
2 #define MSP_GL_CLIPPING_H_
14 class Clipping: public Bindable<Clipping>
17 std::vector<const ClipPlane *> planes;
19 static bool bound_with_legacy;
22 void attach(unsigned, const ClipPlane &);
23 void detach(unsigned);
25 void update_shader_data(ProgramData &, const Matrix &) const;
27 void bind(bool legacy = true) const;