]> git.tdb.fi Git - libs/gl.git/blobdiff - source/batch.h
Let Batch decide whether appending is possible
[libs/gl.git] / source / batch.h
index 92a10e6b4923a4d82678794e3ce7653766b9ca7f..907a0b7f29c08c92540d53fef4afc27d8183836c 100644 (file)
@@ -51,6 +51,7 @@ public:
 
        Batch &append(unsigned);
        void append(const std::vector<unsigned> &);
+       bool can_append(PrimitiveType);
        void append(const Batch &);
 private:
        void append_index(unsigned);