diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-11-25 11:36:58 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-11-26 17:36:20 +0000 |
commit | 62055ddbc99f663f4ed6ed343794831ee10e4454 (patch) | |
tree | bd63439cec7dbee46058e295d6629c01a9b36f54 /src/quick3d/imports/render/qt3dquick3drenderplugin.cpp | |
parent | 653fdeb073a525a676bf0c12511c3f74bad2095e (diff) |
Add a framegraph node for lighting
Empty for now.
Change-Id: I4edcdae58230e53c266c214052522d3ab54b1c6c
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/quick3d/imports/render/qt3dquick3drenderplugin.cpp')
-rw-r--r-- | src/quick3d/imports/render/qt3dquick3drenderplugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick3d/imports/render/qt3dquick3drenderplugin.cpp b/src/quick3d/imports/render/qt3dquick3drenderplugin.cpp index 04999c9c8..6d23d7fae 100644 --- a/src/quick3d/imports/render/qt3dquick3drenderplugin.cpp +++ b/src/quick3d/imports/render/qt3dquick3drenderplugin.cpp @@ -102,6 +102,7 @@ #include <Qt3DRender/qboundingvolumespecifier.h> #include <Qt3DRender/qboundingvolumedebug.h> #include <Qt3DRender/qfrustumculling.h> +#include <Qt3DRender/qlighting.h> #include <Qt3DQuickRender/private/quick3dtechnique_p.h> #include <Qt3DQuickRender/private/quick3dmaterial_p.h> #include <Qt3DQuickRender/private/quick3dtechniquefilter_p.h> @@ -254,6 +255,7 @@ void Qt3DQuick3DRenderPlugin::registerTypes(const char *uri) qmlRegisterType<Qt3DRender::QNoDraw>(uri, 2, 0, "NoDraw"); qmlRegisterType<Qt3DRender::QFrameGraph>(uri, 2, 0, "FrameGraph"); qmlRegisterType<Qt3DRender::QFrustumCulling>(uri, 2, 0, "FrustumCulling"); + qmlRegisterType<Qt3DRender::QLighting>(uri, 2, 0, "Lighting"); // RenderTarget qmlRegisterType<Qt3DRender::QRenderAttachment>(uri, 2, 0, "RenderAttachment"); |