- DEPRECATED void set_data_type(DataType t) { set_index_type(t); }
- DEPRECATED DataType get_data_type() const { return index_type; }
+ /** Sets the number of control points per patch. Only available if the
+ primitive type is PATCHES. */
+ void set_patch_size(unsigned);
+
+ unsigned get_patch_size() const { return patch_size; }