diff options
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/shaders/propertyanimation/uniformanimator.qml')
-rw-r--r-- | tests/manual/scenegraph_lancelot/data/shaders/propertyanimation/uniformanimator.qml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/shaders/propertyanimation/uniformanimator.qml b/tests/manual/scenegraph_lancelot/data/shaders/propertyanimation/uniformanimator.qml new file mode 100644 index 0000000000..22691652b0 --- /dev/null +++ b/tests/manual/scenegraph_lancelot/data/shaders/propertyanimation/uniformanimator.qml @@ -0,0 +1,21 @@ +import QtQuick 2.15 + +Item { + width: 320 + height: 480 + + ShaderEffect { + x: 10 + y: 250 + width: 300 + height: 200 + property real colorProperty: 0.0 + fragmentShader: "qrc:shaders/property.frag" + + UniformAnimator on colorProperty { + duration: 200 + from: 0.0 + to: 1.0 + } + } +} |