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"
20 friend class MeshBuilder;
23 class Loader: public DataFile::Loader
30 void vertices(VertexFormat);
31 void batch(PrimitiveType);
36 std::list<Batch> batches;
42 void use_vertex_buffer(bool);
43 const VertexArray &get_vertices() const { return vertices; }
44 void add_batch(const Batch &b);
45 const std::list<Batch> &get_batches() { return batches; }