]> git.tdb.fi Git - libs/gl.git/blob - source/vertexarraybuilder.h
Throw an exception if Texture*::allocate is called before storage
[libs/gl.git] / source / vertexarraybuilder.h
1 #ifndef MSP_GL_VERTEXARRAYBUIDER_H_
2 #define MSP_GL_VERTEXARRAYBUIDER_H_
3
4 #include <vector>
5 #include "vertexbuilder.h"
6 #include "vertexformat.h"
7
8 namespace Msp {
9 namespace GL {
10
11 class VertexArray;
12
13 class VertexArrayBuilder: public VertexBuilder
14 {
15 private:
16         VertexArray &array;
17
18         VertexArrayBuilder(const VertexArrayBuilder &);
19 public:
20         VertexArrayBuilder(VertexArray &);
21
22 private:
23         virtual void vertex_(const Vector4 &);
24 };
25
26 } // namespace GL
27 } // namespace Msp
28
29 #endif