1 #ifndef MSP_GL_VERTEXSETUP_H_
2 #define MSP_GL_VERTEXSETUP_H_
12 Combines a VertexArray with an index buffer. This wraps OpenGL's vertex array
13 objects. Intended for internal use.
15 class VertexSetup: public Bindable<VertexSetup>
20 const VertexArray *array;
21 const Buffer *index_buffer;
27 void set_vertex_array(const VertexArray &);
28 void set_index_buffer(const Buffer &);
29 const Buffer *get_index_buffer() const { return index_buffer; }