+
+public:
+ Batch(PrimitiveType t);
+ Batch &append(uint);
+ void append(const std::vector<uint> &);
+ PrimitiveType get_type() const { return type; }
+ unsigned size() const { return indices.size(); }
+ const std::vector<uint> &get_indices() const { return indices; }
+ void draw() const;
+ void draw_with_buffer(unsigned) const;