summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/qeffect.cpp
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2019-10-10 15:21:43 +0300
committerAntti Määttä <antti.maatta@qt.io>2019-10-10 17:13:18 +0300
commit4e0f5efb815f6be45a3aa83217618479d8d25c8b (patch)
tree1099bdce3103a6a59230a1415ff730f6b1a5d39c /src/render/materialsystem/qeffect.cpp
parent93aa379ae5cf624f024aa9173ce42e90b5c58002 (diff)
Add note to material system nodes that can't be disabled
Task-number: QTBUG-67017 Change-Id: I20acb3aa5e778be7752e1568b08001838f094eb3 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/materialsystem/qeffect.cpp')
-rw-r--r--src/render/materialsystem/qeffect.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/materialsystem/qeffect.cpp b/src/render/materialsystem/qeffect.cpp
index b611657c4..ba19154fd 100644
--- a/src/render/materialsystem/qeffect.cpp
+++ b/src/render/materialsystem/qeffect.cpp
@@ -69,6 +69,8 @@ QEffectPrivate::QEffectPrivate()
An QEffect instance should be shared among several QMaterial instances when possible.
+ \note QEffect node can not be disabled.
+
\code
QEffect *effect = new QEffect();
@@ -115,6 +117,8 @@ QEffectPrivate::QEffectPrivate()
A Parameter defined on an Effect is overridden by a QParameter (of the same
name) defined in a Material, TechniqueFilter, RenderPassFilter.
+ \note Effect node can not be disabled.
+
\code
Effect {
id: effect