[SOLVED] Render only one frame and other questions

I think it should be possible to render to a buffer and make a screenshot from that. Still, I can’t figure out the code right now.