X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmesh.h;h=388d4d8806affd4d63901be8b7335a7bc7a85f55;hp=14cb072dda26891dafb4fcf402e4055358f1a48b;hb=c51030d1cb2308d30db80303a561de1774dfdb76;hpb=26ff1dd4c645c9b8b5361f5f37c58f071789f026 diff --git a/source/mesh.h b/source/mesh.h index 14cb072d..388d4d88 100644 --- a/source/mesh.h +++ b/source/mesh.h @@ -89,6 +89,8 @@ public: void draw() const; void draw(Renderer &) const; + /** Binds the mesh for rendering. The vertex array is applied using generic + attributes only. Uses vertex array object if possible. */ void bind() const; static void unbind();