Philip Schuchardt
2016-12-05 18:54:33 UTC
I want to render QML to an OpenGL texture through a framebuffer and then
share that texture with Qt3D. Rendering to a framebuffer is fairly straight
forward with a
QQuickRenderControl. A good example of it is in
https://doc.qt.io/qt-5/qtquick-rendercontrol-example.html. Is there any way
to share OpenGL textures between an OpenGL context that I control and the
OpenGL context that qt3d controls? Also, does qt3d use a sperate OpenGL
context than QML scene graph (onscreen)?
share that texture with Qt3D. Rendering to a framebuffer is fairly straight
forward with a
QQuickRenderControl. A good example of it is in
https://doc.qt.io/qt-5/qtquick-rendercontrol-example.html. Is there any way
to share OpenGL textures between an OpenGL context that I control and the
OpenGL context that qt3d controls? Also, does qt3d use a sperate OpenGL
context than QML scene graph (onscreen)?
--
Phi|ip
Phi|ip