Is it possible to have a gl context without a window? I need to render offscreen and then read back the image for further processing. I tried playing with the GraphicsContext's constructor but no luck so far.
One solution is to create GLControl but not attach it to a Form. Another is to create a GameWindow and set it's visible property to false.
Note that the framebuffer contents of an invisible window are undefined, so you'll have to use a FBO to get any meaningful results.
Ok thanks.
Comments
Re: GraphicsContext without Window
One solution is to create GLControl but not attach it to a Form. Another is to create a GameWindow and set it's visible property to false.
Note that the framebuffer contents of an invisible window are undefined, so you'll have to use a FBO to get any meaningful results.
Re: GraphicsContext without Window
Ok thanks.