private:
std::vector<const ClipPlane *> planes;
- static bool bound_with_legacy;
-
public:
+ static unsigned get_n_attach_points();
+
void attach(unsigned, const ClipPlane &);
void detach(unsigned);
void update_shader_data(ProgramData &, const Matrix &) const;
- void bind(bool legacy = true) const;
+ void bind() const;
static void unbind();
};