3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
11 #include <msp/datafile/loader.h>
13 #include "vertexarray.h"
21 class Loader: public DataFile::Loader
28 void vertices(VertexFormat);
29 void batch(PrimitiveType);
34 RefPtr<VertexArrayBuilder> modify_vertices() { return vertices.modify(); }
35 void add_batch(const Batch &b);
36 const VertexArray &get_vertices() const { return vertices; }
37 const std::list<Batch> &get_batches() { return batches; }
41 std::list<Batch> batches;