Post History
If I understand the question right, you are probably talking about Light-field camera. One of these, Lytro was selling in 2014, which provided some fancy results as the "photo" could be re-focused ...
Answer
#1: Initial revision
If I understand the question right, you are probably talking about [Light-field camera](https://en.wikipedia.org/wiki/Light-field_camera). One of these, [Lytro](https://en.wikipedia.org/wiki/Lytro) was selling in 2014, which provided some fancy results as the "photo" could be re-focused after the exposure: ![Lytro camera](https://upload.wikimedia.org/wikipedia/commons/3/36/Lytro_light_field_camera_-_front.jpg) The above wikipedia article says the company shut down in 2018. There are few other alternatives, but I am not aware about anything recent and widely available.