Uploads vertex data.
The returned slice's byte offset must be aligned to VertexFormat.vertexSize for format.