Debian Codegraph @

tests/manual/scenegraph_lancelot/data/shaders/nesting/nesting.qml

raw
1 import QtQuick 2.0
2
3 Rectangle {
4 id: root
5 width: 320
6 height: 480
7
8 Text {
9 id: textItem
10 text: "Text Item"
11 visible: false
12 }
13
14 ShaderEffect {
15 width: root.width / 2
16 height: root.height / 2
17 anchors.left: parent.left
18 anchors.verticalCenter: parent.verticalCenter
19 property variant source: ShaderEffectSource {
20 sourceItem: ShaderEffect {
21 width: root.width / 2
22 height: root.height /2
23 property variant source: ShaderEffectSource { sourceItem: textItem }
24 }
25 }
26 }
27 }
28