Function indexCollectMesh

eagerly index all vertices in the given range and collect them into a struct that has an indices array member and a vertices array member

auto indexCollectMesh(VR, Indexer) (
  VR vertexRange,
  Indexer indexer = LruIndexer!(ushort, ElementType!VR)(8)
);