How to get a triangle data from perspective camera

hi all,
when a render a scene using a perspective camera after rasterization step in the pipeline we get a 2d image/bitmap/buffer.
instead of 2d image/bitmap/buffer can I get a triangle data from a 3D scene.

thanks and warm regards,

Take a look at Transform Feedback.

Alternatively, just transform the vertices on the CPU.

thanks lot.