/**
Raw mesh data, consisting of a VertexArray and one or more Batches. Though a
Mesh can draw itself, it's usually used as part of Renderables rather than on
its own.
*/
/**
Raw mesh data, consisting of a VertexArray and one or more Batches. Though a
Mesh can draw itself, it's usually used as part of Renderables rather than on
its own.
*/
const Buffer *get_index_buffer() const { return ibuf; }
unsigned get_n_vertices() const;
float *modify_vertex(unsigned);
const Buffer *get_index_buffer() const { return ibuf; }
unsigned get_n_vertices() const;
float *modify_vertex(unsigned);
void draw(Renderer &) const;
void draw_instanced(Renderer &, const VertexSetup &, unsigned) const;
void draw(Renderer &) const;
void draw_instanced(Renderer &, const VertexSetup &, unsigned) const;
virtual int get_load_priority() const { return 1; }
virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
virtual UInt64 get_data_size() const;
virtual int get_load_priority() const { return 1; }
virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
virtual UInt64 get_data_size() const;