I've seen a number of questions dealing with rendering in the 3D Viewport or making particular objects render as wireframe. What I can't find is a way, from Python (or even manually), to set the entire scene to render as wireframe or any of the other shading modes that we can use in the viewport. I want to be able to render an output image in wireframe or solid, instead of the normal rendering mode.
How can I render an image, that I can save to my drive, with everything as wireframe or solid?