summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/scene3d/AnimatedEntity.qml
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2020-01-16 16:48:21 +0000
committerMike Krus <mike.krus@kdab.com>2020-01-20 13:04:19 +0000
commit4ae7cc93b503cc31272f0b55c84410af30aea8b9 (patch)
tree3eeba8a9295be900daf0ddd60bf079082379fc86 /examples/qt3d/scene3d/AnimatedEntity.qml
parent34165446cd03a659eaea83d25dfdb91a22c0e2c5 (diff)
Add QRenderCapabilities to query GL about what is supported
Change-Id: I7981e7e4b514e5d15d66c82351f1ab2fe160d20d Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/scene3d/AnimatedEntity.qml')
-rw-r--r--examples/qt3d/scene3d/AnimatedEntity.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/qt3d/scene3d/AnimatedEntity.qml b/examples/qt3d/scene3d/AnimatedEntity.qml
index 2cfeeb73a..77cc15aa3 100644
--- a/examples/qt3d/scene3d/AnimatedEntity.qml
+++ b/examples/qt3d/scene3d/AnimatedEntity.qml
@@ -49,7 +49,7 @@
****************************************************************************/
import Qt3D.Core 2.0
-import Qt3D.Render 2.0
+import Qt3D.Render 2.15
import Qt3D.Input 2.0
import Qt3D.Extras 2.15
@@ -58,6 +58,7 @@ import QtQuick 2.0 as QQ2
Entity {
id: sceneRoot
+ property RenderCapabilities capabilities : renderSettings.renderCapabilities
Camera {
id: camera
@@ -74,6 +75,7 @@ Entity {
components: [
RenderSettings {
+ id: renderSettings
activeFrameGraph: ForwardRenderer {
camera: camera
clearColor: "transparent"