diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2019-10-15 09:40:09 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2019-10-15 09:40:40 +0200 |
commit | 7339e9ae93df3720e1b936dd027d821105020bc4 (patch) | |
tree | f563b7cf4e02ad8a0628fb228733dc841f8ca554 /src/render/materialsystem | |
parent | fd85ebb1e24d48ffdff0659810a1830691bba89f (diff) | |
parent | 7628760f8f16aba7769c04f2251633faa9fbcad1 (diff) |
Merge remote-tracking branch 'origin/5.13' into 5.14
Change-Id: I44133fbc9b93e96918463b0b0891ee5ab7db9f2c
Diffstat (limited to 'src/render/materialsystem')
-rw-r--r-- | src/render/materialsystem/qeffect.cpp | 4 | ||||
-rw-r--r-- | src/render/materialsystem/qfilterkey.cpp | 4 | ||||
-rw-r--r-- | src/render/materialsystem/qparameter.cpp | 4 | ||||
-rw-r--r-- | src/render/materialsystem/qtechnique.cpp | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/src/render/materialsystem/qeffect.cpp b/src/render/materialsystem/qeffect.cpp index 35f4d64a9..6f5ff09e6 100644 --- a/src/render/materialsystem/qeffect.cpp +++ b/src/render/materialsystem/qeffect.cpp @@ -65,6 +65,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(); @@ -111,6 +113,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 diff --git a/src/render/materialsystem/qfilterkey.cpp b/src/render/materialsystem/qfilterkey.cpp index dc968400b..2105da987 100644 --- a/src/render/materialsystem/qfilterkey.cpp +++ b/src/render/materialsystem/qfilterkey.cpp @@ -60,6 +60,8 @@ QFilterKeyPrivate::QFilterKeyPrivate() Filter keys are used by QTechnique and QRenderPass to specify at which stage of rendering the technique or the render pass is used. + + \note QFilterKey node can not be disabled. */ /*! @@ -73,6 +75,8 @@ QFilterKeyPrivate::QFilterKeyPrivate() A FilterKey is a storage type for filter key and value pair. Filter keys are used by Technique and RenderPass to specify at which stage of rendering the technique or the render pass is used. + + \note FilterKey node can not be disabled. */ QFilterKey::QFilterKey(QNode *parent) diff --git a/src/render/materialsystem/qparameter.cpp b/src/render/materialsystem/qparameter.cpp index 77eda8c8e..969882564 100644 --- a/src/render/materialsystem/qparameter.cpp +++ b/src/render/materialsystem/qparameter.cpp @@ -76,6 +76,8 @@ \note when the targeted uniform is an array, the name should be the name of the uniform with [0] appended to it. + \note Parameter node can not be disabled. + \code Parameter { name: "diffuseValues[0]" @@ -138,6 +140,8 @@ \note when the targeted uniform is an array, the name should be the name of the uniform with [0] appended to it. + \note QParameter node can not be disabled. + \code QParameter *param = new QParameter(); QVariantList values = QVariantList() << 0.0f << 1.0f << 2.0f << 3.0f << 4.0f << 883.0f << 1340.0f << 1584.0f; diff --git a/src/render/materialsystem/qtechnique.cpp b/src/render/materialsystem/qtechnique.cpp index 2b96aa285..5ebaefce7 100644 --- a/src/render/materialsystem/qtechnique.cpp +++ b/src/render/materialsystem/qtechnique.cpp @@ -87,6 +87,8 @@ QTechniquePrivate::~QTechniquePrivate() QSurfaceFormat::setDefaultFormat(). Setting the QSurfaceFormat on the view will likely have no effect on Qt3D related rendering. + \note Technique node can not be disabled. + \qml Technique { id: gl3Technique @@ -152,6 +154,8 @@ QTechniquePrivate::~QTechniquePrivate() QSurfaceFormat::setDefaultFormat(). Setting the QSurfaceFormat on the view will likely have no effect on Qt3D related rendering. + \note QTechnique node can not be disabled. + \code QTechnique *gl3Technique = new QTechnique(); |