]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.h
Make Material::apply const
[libs/gl.git] / source / mesh.h
index 648fb72c11dc26849ffd98ce322dcf3d1cb3b730..7c80d32263d0b45f7d1bf46c62b33fe992b3f632 100644 (file)
@@ -30,6 +30,9 @@ public:
        };
 
        Mesh();
+       Mesh(VertexFormat f);
+       RefPtr<VertexArrayBuilder> modify_vertices() { return vertices.modify(); }
+       void add_batch(const Batch &b);
        void draw() const;
 private:
        VertexArray vertices;