const Buffer *get_index_buffer() const { return index_buffer; }
private:
+ static bool verify_array(const VertexArray &);
static unsigned get_attribs(const VertexFormat &);
static unsigned get_update_mask(unsigned, const VertexFormat &, const VertexArray &);
void update(unsigned) const;