- void set_data_type(DataType);
- DataType get_data_type() const { return data_type; }
- void use_index_buffer(Buffer *, Batch * = 0);
-private:
- void unlink_from_ibuf();
- void update_ibuf_offsets();
+ void set_index_type(DataType);
+ DataType get_index_type() const { return index_type; }
+
+ DEPRECATED void set_data_type(DataType t) { set_index_type(t); }
+ DEPRECATED DataType get_data_type() const { return index_type; }