3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
14 Immediate::Immediate(VertexFormat f):
15 PrimitiveBuilder(array),
18 array.use_vertex_buffer(0);
21 void Immediate::reset()
24 throw InvalidState("Can't reset Immediate between begin() and end()");
29 void Immediate::begin_()
34 void Immediate::end_()
37 batch.append(indices);
42 void Immediate::element_(unsigned i)