diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-01-17 11:37:39 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-01-17 17:20:17 +0000 |
commit | 61f0ae95ff1dcf5ac168065c2e87effa6f75e36a (patch) | |
tree | 44f44c20c26e470dd47d8feefc241672e5c1b387 /examples | |
parent | 8b6f4aec9910cfdd347fc3c503d794b585107a2b (diff) |
Add annotations to transparency-qml example effect
Still doesn't fix the technique selection here.
Change-Id: I4f27b4a082600b193bac8e03e8153d17d88d97c9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qt3d/transparency-qml/main.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/qt3d/transparency-qml/main.qml b/examples/qt3d/transparency-qml/main.qml index e1e394e64..6159f78cc 100644 --- a/examples/qt3d/transparency-qml/main.qml +++ b/examples/qt3d/transparency-qml/main.qml @@ -112,6 +112,12 @@ Entity { } effect: Effect { + Annotation { + id: forward + name: "renderingStyle" + value: "forward" + } + parameters: [ Parameter { name: "alpha"; value: alphaMaterial.alpha }, Parameter { name: "ka"; value: "black" }, @@ -131,6 +137,7 @@ Entity { techniques: [ Technique { + annotations: forward graphicsApiFilter { api: GraphicsApiFilter.OpenGL profile: GraphicsApiFilter.NoProfile @@ -155,6 +162,7 @@ Entity { }, Technique { + annotations: forward graphicsApiFilter { api: GraphicsApiFilter.OpenGLES profile: GraphicsApiFilter.NoProfile |