About Shaders in QGraphicsScene
-
Good day to all!
Tell me, please, how exactly does QGraphicsScene display an image on the screen - using shaders or a simple pipeline? I found similar information only regarding Qt3D, which talks about basic lighting shaders, but there is not a word about the technical implementation of a conventional 2D scene.
Thank you for your help! -
Hi,
The QGraphicsView framework is older than that. It's CPU based. If you put a QOpenGLWidget as viewport it will leverage OpenGL but it won't convert your scene into a shader or that kind of advanced stuff.