]> git.tdb.fi Git - libs/gl.git/blobdiff - source/vertexarraybuilder.h
Use texture unit numbers instead of slot names in RenderPass
[libs/gl.git] / source / vertexarraybuilder.h
index 54357677d9fe671d99b63d6b68c9b2df1210c78f..3b1f821645e21b9c235680e677e10be017e6f73b 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Copyright © 2007-2008, 2010  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -19,16 +19,15 @@ class VertexArray;
 
 class VertexArrayBuilder: public VertexBuilder
 {
-public:
-       std::vector<float> &data;
-
-       VertexArrayBuilder(VertexArray &, std::vector<float> &);
-       ~VertexArrayBuilder();
-
 private:
        VertexArray  &array;
 
        VertexArrayBuilder(const VertexArrayBuilder &);
+public:
+       VertexArrayBuilder(VertexArray &);
+       ~VertexArrayBuilder();
+
+private:
        virtual void vertex_(float, float, float, float);
 };