Repruducing framebuffer

Does anyone have any insight or an example on how to retrieve the current framebuffer data and use it as texture data for a subsequent frame render?

To retrieve data from framebuffer, you can use glReadPixels.

glCopyTexImage, glCopyTexSubImage…