I'd like to render a QGraphicsScene into a OpenGL or DirectX texture. I would like to do this without create a window, or QGraphicsView widget. I will have a window handle available. I was thinking that I could do this by overriding the paint function, and painting into a QImage buffer instead, and then copy that to the texture. I'm not entirely sure how to go about this. Does anyone have any ideas?
Bookmarks