I’m new to OpenGL, so apologies if this is an obvious question.
I’m rending some graphics which I would like to convert to an image file (or just a memory buffer for now). I’ve worked out how to use glReadPixels to capture the visible window, but that has lots of drawbacks such as other windows in the way, and screen size limitations. I’d like to capture my rendering offscreen (i.e. so it doesn’t get interfered with) and at my choice of resolution (e.g. something higher than my monitor can handle like 1920x1080). Is this possible?