How to create mesh by heightmap in runtime using c++?

Now I have a lot of heightmap tiles, and I want to drawing mesh dynamically in runtime, because the heightmap is too big to create entire terrain.