I know that a frame buffer can have multiple attachments, which are handled by the render pass. Buffer frame is like an interface for our swap chain images. I came to know that a frame buffer can have multiple images as well at the same time. So does the frame buffer have multiple attachments for each image or what? Also , why would a frame buffer have multiple images, since the rendering happens image by image and then the rendered image is swapped with already presented image and so on?
I am trying to learn the frame buffers.