Name Description Size Coverage
CMakeLists.txt 1412 -
scene3ditem.cpp ! \class Qt3DRender::Scene3DItem \internal \brief The Scene3DItem class is a QQuickItem subclass used to integrate a Qt3D scene into a QtQuick 2 scene. The Scene3DItem class renders a Qt3D scene, provided by a Qt3DCore::QEntity into a multisampled Framebuffer object that is later blitted into a non-multisampled Framebuffer object to be then rendered through the use of a Qt3DCore::Scene3DSGNode with premultiplied alpha. 30876 -
scene3ditem_p.h 4033 -
scene3dlogging.cpp 330 -
scene3dlogging_p.h 658 -
scene3drenderer.cpp ! \class Qt3DRender::Scene3DRenderer \internal \brief The Scene3DRenderer class takes care of rendering a Qt3D scene within a Framebuffer object to be used by the QtQuick 2 renderer. The Scene3DRenderer class renders a Qt3D scene as provided by a Scene3DItem. It owns the aspectEngine even though it doesn't instantiate it. The render loop goes as follows: \list \li The main thread runs, drives Animations, etc. and causes changes to be reported to the Qt3D change arbiter. The first change reported will cause the scene3drenderer to be marked dirty. \li The QtQuick render thread starts a new frame, synchronizes the scene graph and emits afterSynchronizing. This will trigger some preparational steps for rendering and mark the QSGNode dirty if the Scene3DRenderer is dirty. \li The QtQuick render loop emits beforeRendering. If we're marked dirty or if the renderPolicy is set to Always, we'll ask the Qt3D renderer aspect to render. That call is blocking. If the aspect jobs are not done, yet, the renderer will exit early and we skip a frame. \endlist 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 uses to perform the necessary cleanups in the QSGRenderThread (destroys DebugLogger ...) with the shutdown slot (queued connection). \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 Scene3D is used with a QtQuick Loader In that case the shutdown procedure goes the same except that the destroyed signal of the window is not called. Therefore the cleanup method is invoked to properly destroy the aspect engine. 21882 -
scene3drenderer_p.h 5612 -
scene3dsgmaterial.cpp ! \class Qt3DRender::Scene3DSGMaterial \internal \inherits QSGMaterial \brief The Scene3DSGMaterial class is a custom QSGMaterial subclass used to render a Scene3DSGNode The Scene3DSGMaterial class renders a texture using premultiplied alpha unlike the QSGSimpleTextureMaterial. This is needed to properly integrate alpha blending from a Qt3D scene within a QtQuick 2 scene. 991 -
scene3dsgmaterial_p.h 1324 -
scene3dsgmaterialshader.cpp ! \class Qt3DCore::SCene3DMaterialShader \internal \brief The Qt3DRender::Scene3DSGMaterialShader class is a custom QSGMaterialShader subclass instantiated by a Qt3DRender::Scene3DSGMateria1 The Qt3DRender::Scene3DSGMaterialShader provides a shader that renders a texture using premultiplied alpha. 4289 -
scene3dsgmaterialshader_p.h 1126 -
scene3dsgnode.cpp ! \class Qt3DCore::Scene3DSGNode \internal \brief The Qt3DCore::Scene3DSGNode class is a simple QSGeometryNode subclass that uses a Qt3DCore::Scene3DMaterial The Qt3DCore::Scene3DSGNode allows to render a simple rectangle textured with a texture using premultiplied alpha. 1806 -
scene3dsgnode_p.h 1338 -
shaders -