How I can create a texture atlas in OpenGL with other existing textures?

  atlas, c++, opengl

I will like to generate a texture atlas from some textures that are already loaded in memory.

The textures I will like to include in the atlas are generated procedurally on runtime so I can’t just create a png tilemap that already contains them.

Is this possible to do with OpenGL?

Source: Windows Questions C++