+ std::size_t get_n_vertices() const;
+
+ /** Returns a pointer to a vertex. Offsets of individual attributes can be
+ queried from VertexFormat. */
+ char *modify_vertex(std::size_t);
+
+ /** Adds a batch to the mesh. It may be combined with the last existing
+ batch if the primitive types are compatible. */
+ void add_batch(Batch &&b);