summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/qt3d/anaglyph-rendering/StereoFrameGraph.qml4
-rw-r--r--examples/qt3d/clip-planes-qml/ClipCappingFrameGraph.qml2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qt3d/anaglyph-rendering/StereoFrameGraph.qml b/examples/qt3d/anaglyph-rendering/StereoFrameGraph.qml
index d2256c7ac..c39afc9d6 100644
--- a/examples/qt3d/anaglyph-rendering/StereoFrameGraph.qml
+++ b/examples/qt3d/anaglyph-rendering/StereoFrameGraph.qml
@@ -72,7 +72,7 @@ Viewport {
id: leftCameraSelector
RenderStateSet {
renderStates: [
- ColorMask { red: true; green: false; blue: false; alpha: false },
+ ColorMask { redMasked: true; greenMasked: false; blueMasked: false; alphaMasked: false },
DepthTest { depthFunction: DepthTest.Less }
]
}
@@ -85,7 +85,7 @@ Viewport {
id: rightCameraSelector
RenderStateSet {
renderStates: [
- ColorMask { red: false; green: true; blue: true; alpha: false },
+ ColorMask { redMasked: false; greenMasked: true; blueMasked: true; alphaMasked: false },
DepthTest { depthFunction: DepthTest.Less }
]
}
diff --git a/examples/qt3d/clip-planes-qml/ClipCappingFrameGraph.qml b/examples/qt3d/clip-planes-qml/ClipCappingFrameGraph.qml
index ab7f33d1a..61c721fe1 100644
--- a/examples/qt3d/clip-planes-qml/ClipCappingFrameGraph.qml
+++ b/examples/qt3d/clip-planes-qml/ClipCappingFrameGraph.qml
@@ -107,7 +107,7 @@ Viewport {
front.stencilDepthPass: StencilOpSeparate.Decr
back.stencilDepthPass: StencilOpSeparate.Incr
},
- ColorMask { red: false; green: false; blue: false; alpha: false }
+ ColorMask { redMasked: false; greenMasked: false; blueMasked: false; alphaMasked: false }
]
LayerFilter {