]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.h
Add class Technique to share passes between Objects
[libs/gl.git] / source / mesh.h
index 8e1f906cf2dcbbd89ecb9c556a721991b7899b1a..633cf3ab377651a95bd8835cd6922c2b2a759656 100644 (file)
@@ -10,7 +10,6 @@ Distributed under the LGPL
 
 #include <msp/datafile/loader.h>
 #include "batch.h"
-#include "meshbuilder.h"
 #include "vertexarray.h"
 
 namespace Msp {
@@ -41,10 +40,10 @@ public:
        Mesh(VertexFormat f);
 
        void use_vertex_buffer(bool);
-       RefPtr<MeshBuilder> modify();
        const VertexArray &get_vertices() const { return vertices; }
        void add_batch(const Batch &b);
        const std::list<Batch> &get_batches() { return batches; }
+       void clear();
        void draw() const;
 };