diff options
Diffstat (limited to 'src/quick3d/quick3drenderer/items/quick3drenderpassfilter.h')
-rw-r--r-- | src/quick3d/quick3drenderer/items/quick3drenderpassfilter.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/quick3d/quick3drenderer/items/quick3drenderpassfilter.h b/src/quick3d/quick3drenderer/items/quick3drenderpassfilter.h index ae0c32bc8..4b22568ad 100644 --- a/src/quick3d/quick3drenderer/items/quick3drenderpassfilter.h +++ b/src/quick3d/quick3drenderer/items/quick3drenderpassfilter.h @@ -54,10 +54,13 @@ class QT3DQUICKRENDERERSHARED_EXPORT Quick3DRenderPassFilter : public QObject { Q_OBJECT Q_PROPERTY(QQmlListProperty<Qt3D::QAnnotation> includes READ includeList) + Q_PROPERTY(QQmlListProperty<Qt3D::QParameter> parameters READ parameterList) + public: explicit Quick3DRenderPassFilter(QObject *parent = 0); QQmlListProperty<Qt3D::QAnnotation> includeList(); + QQmlListProperty<Qt3D::QParameter> parameterList(); inline QRenderPassFilter *parentRenderPassFilter() const { return qobject_cast<Qt3D::QRenderPassFilter*>(parent()); } @@ -66,6 +69,11 @@ private: static QAnnotation *includeAt(QQmlListProperty<QAnnotation> *list, int index); static int includesCount(QQmlListProperty<QAnnotation> *list); static void clearIncludes(QQmlListProperty<QAnnotation> *list); + + static void appendParameter(QQmlListProperty<QParameter> *list, QParameter *param); + static QParameter *parameterAt(QQmlListProperty<QParameter> *list, int index); + static int parametersCount(QQmlListProperty<QParameter> *list); + static void clearParameterList(QQmlListProperty<QParameter> *list); }; } // Quick |