Debian Codegraph @

tests/manual/scenegraph_lancelot/data/shaders/image/source.qml

raw
1 import QtQuick 2.0
2
3 Item {
4 width: 320
5 height: 480
6
7 Image {
8 id: image;
9 source: "face-smile.png"
10 visible: false
11 }
12
13 ShaderEffect {
14 anchors.fill: image
15 property variant source: image
16 fragmentShader: "qrc:shaders/gradient2.frag"
17 }
18 }