pub fn screenshot()Expand description
Requests a screenshot with an auto-generated filename.
The screenshot will be saved as screenshot_NNNN.png in the current directory,
where NNNN is an auto-incrementing number.
This function can be called while show() is running.
The screenshot will be captured on the next frame.
ยงExample
use polyscope_rs::*;
init().unwrap();
// ... register structures ...
// Request a screenshot (will be saved when show() runs)
screenshot();
show();