blob: 51f067e71ad66d072a988c7001f5c3bc087953a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import QtQuick 2.0
// Stacks x number of alphablended textures on top of each other.
// Rouch test of fill and texel rate.
Item {
id: root;
property int count: 8;
property int staticCount: 0
Repeater {
model: root.count;
Rectangle {
width: root.width
height: root.height
color: Qt.hsla((index * .271) % 1.0, 0.5, 0.5, 0.5);
layer.enabled: true
layer.format: ShaderEffectSource.RGBA
}
}
}
|