-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007, 2009-2010 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef MSP_GL_BATCH_H_
#define MSP_GL_BATCH_H_
unsigned size() const { return data.size()/get_index_size(); }
unsigned get_index(unsigned) const;
void draw() const;
+
private:
unsigned get_index_size() const;
template<typename T, typename U>
U convert(T) const;
-private:
+
void unlink_from_ibuf();
void update_ibuf_offsets();
};