diff options
Diffstat (limited to 'src/quick3d/imports/scene3d/scene3drenderer.cpp')
-rw-r--r-- | src/quick3d/imports/scene3d/scene3drenderer.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/quick3d/imports/scene3d/scene3drenderer.cpp b/src/quick3d/imports/scene3d/scene3drenderer.cpp index 4822c7bc4..b3cac0dcd 100644 --- a/src/quick3d/imports/scene3d/scene3drenderer.cpp +++ b/src/quick3d/imports/scene3d/scene3drenderer.cpp @@ -92,17 +92,18 @@ private: }; /*! - \class Qt3DCore::Scene3DRenderer + \class Qt3DRender::Scene3DRenderer \internal - \brief The Qt3DCore::Scene3DRenderer class takes care of rendering a Qt3D scene + \brief The Scene3DRenderer class takes care of rendering a Qt3D scene within a Framebuffer object to be used by the QtQuick 2 renderer. - The Qt3DCore::Scene3DRenderer class renders a Qt3D scene as provided by a Qt3DCore::Scene3DItem. + The Scene3DRenderer class renders a Qt3D scene as provided by a Scene3DItem. It owns the aspectEngine even though it doesn't instantiate it. The shutdown procedure is a two steps process that goes as follow: + \list \li The window is closed \li This triggers the windowsChanged signal which the Scene3DRenderer @@ -112,6 +113,7 @@ private: \li The destroyed signal of the window is also connected to the Scene3DRenderer. When triggered in the context of the main thread, the cleanup slot is called. + \endlist There is an alternate shutdown procedure in case the QQuickItem is destroyed with an active window which can happen in the case where the |