Changed RenderMesh to actually accept a mesh.