+ /** 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; }
+
+ /** Appends a single index. The data type is automatically adjusted if the
+ index is too large for the current data type. */