]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.h
Add a rendering supervisor class
[libs/gl.git] / source / mesh.h
index 9ad924f2a246fe00932dc2744531aa94e7b2d3be..1abbefd39746270d6892d83b2fff3f840e22c6de 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of libmspgl
-Copyright © 2007-2010  Mikko Rasa, Mikkosoft Productions
+Copyright © 2007-2011  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -16,6 +16,7 @@ namespace Msp {
 namespace GL {
 
 class Buffer;
+class Renderer;
 
 class Mesh
 {
@@ -53,6 +54,7 @@ public:
        const std::list<Batch> &get_batches() { return batches; }
 
        void draw() const;
+       void draw(Renderer &) const;
 };
 
 } // namespace GL