- /// Resets the VertexArray to a different format. All data is cleared.
- void reset(const VertexFormat &);
+ /// Deprecated. Use set_format.
+ DEPRECATED void reset(const VertexFormat &f) { set_format(f); }
+
+ /// Sets the format of the VertexArray.
+ void set_format(const VertexFormat &);