summaryrefslogtreecommitdiffstats
path: root/src/quick3d/imports/render/qt3dquick3drenderplugin.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2015-12-04 12:02:43 +0100
committerSean Harmer <sean.harmer@kdab.com>2015-12-07 19:07:07 +0000
commit7281f99762be18e5da23af07d6cc7e6b5f3b65e3 (patch)
tree105b0f9c6b3453554a8efca91bf18e635e2772d4 /src/quick3d/imports/render/qt3dquick3drenderplugin.cpp
parentc7700e8ab5eae71405f4e5d01e46df14d39b454e (diff)
Expose QDispatchCompute to QML
Change-Id: Ic5e89455c97ce69f7bfca970f4e4884d09010ecb 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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick3d/imports/render/qt3dquick3drenderplugin.cpp b/src/quick3d/imports/render/qt3dquick3drenderplugin.cpp
index 32f4f9ff6..c9944d38b 100644
--- a/src/quick3d/imports/render/qt3dquick3drenderplugin.cpp
+++ b/src/quick3d/imports/render/qt3dquick3drenderplugin.cpp
@@ -103,6 +103,7 @@
#include <Qt3DRender/qboundingvolumedebug.h>
#include <Qt3DRender/qfrustumculling.h>
#include <Qt3DRender/qlighting.h>
+#include <Qt3DRender/qdispatchcompute.h>
#include <Qt3DQuickRender/private/quick3dtechnique_p.h>
#include <Qt3DQuickRender/private/quick3dmaterial_p.h>
#include <Qt3DQuickRender/private/quick3dtechniquefilter_p.h>
@@ -256,6 +257,7 @@ void Qt3DQuick3DRenderPlugin::registerTypes(const char *uri)
qmlRegisterType<Qt3DRender::QFrameGraph>(uri, 2, 0, "FrameGraph");
qmlRegisterType<Qt3DRender::QFrustumCulling>(uri, 2, 0, "FrustumCulling");
qmlRegisterType<Qt3DRender::QLighting>(uri, 2, 0, "Lighting");
+ qmlRegisterType<Qt3DRender::QDispatchCompute>(uri, 2, 0, "DispatchCompute");
// RenderTarget
qmlRegisterType<Qt3DRender::QRenderAttachment>(uri, 2, 0, "RenderAttachment");