void set_vertex_array(const VertexArray &);
void set_instance_array(const VertexArray *);
void set_index_buffer(const Buffer &);
void set_vertex_array(const VertexArray &);
void set_instance_array(const VertexArray *);
void set_index_buffer(const Buffer &);
const VertexArray *get_vertex_array() const { return vertex_array; }
const VertexArray *get_instance_array() const { return inst_array; }
const Buffer *get_index_buffer() const { return index_buffer; }
private:
const VertexArray *get_vertex_array() const { return vertex_array; }
const VertexArray *get_instance_array() const { return inst_array; }
const Buffer *get_index_buffer() const { return index_buffer; }
private:
void update(unsigned) const;
void update_vertex_array(const VertexArray &, unsigned, unsigned, bool) const;
void update(unsigned) const;
void update_vertex_array(const VertexArray &, unsigned, unsigned, bool) const;