Capture obtains the entire openGL window.
capture
cmd.capture
It's helpful to [save] the image once you've captured it,
capture save img.png