]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.h
Present Mesh's index buffer as current while the Mesh is bound
[libs/gl.git] / source / mesh.h
index 2aba273e2b2539cc567a66a25f8525f519c446c9..ba21f256a6370abecb45d17feef9d40aa5818051 100644 (file)
@@ -55,6 +55,7 @@ private:
 
 public:
        const VertexArray &get_vertices() const { return vertices; }
+       const Buffer *get_index_buffer() const { return ibuf; }
        unsigned get_n_vertices() const;
        float *modify_vertex(unsigned);