]> git.tdb.fi Git - libs/gl.git/blob - source/vertexarraybuilder.h
04cd5a27e7aeafb059b49717f9c43e1f60c3ee06
[libs/gl.git] / source / vertexarraybuilder.h
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2007-2008, 2010  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GL_VERTEXARRAYBUIDER_H_
9 #define MSP_GL_VERTEXARRAYBUIDER_H_
10
11 #include <vector>
12 #include "vertexbuilder.h"
13 #include "vertexformat.h"
14
15 namespace Msp {
16 namespace GL {
17
18 class VertexArray;
19
20 class VertexArrayBuilder: public VertexBuilder
21 {
22 private:
23         VertexArray  &array;
24
25         VertexArrayBuilder(const VertexArrayBuilder &);
26 public:
27         VertexArrayBuilder(VertexArray &);
28
29 private:
30         virtual void vertex_(const Vector4 &);
31 };
32
33 } // namespace GL
34 } // namespace Msp
35
36 #endif