summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/qsortpolicy.cpp
diff options
context:
space:
mode:
authorColin Ogilvie <colin.ogilvie@kdab.com>2016-05-23 16:45:15 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2016-06-03 06:28:27 +0000
commitd2ab8f2d4c24bf44218ec1e4b5fb34f548b000eb (patch)
tree3d3168e9a1fda17db0e236984d6f8bbc93360e47 /src/render/framegraph/qsortpolicy.cpp
parent56593e2414c9c530f7abd4d7ea636b5cd2fda26f (diff)
The rest of the doc for render-framegraph
Task-number: QTBUG-46037 Change-Id: I611fac7c701b921f46c8cda0ad1ede3612db0844 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/framegraph/qsortpolicy.cpp')
-rw-r--r--src/render/framegraph/qsortpolicy.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/render/framegraph/qsortpolicy.cpp b/src/render/framegraph/qsortpolicy.cpp
index fbbff6541..8f047f452 100644
--- a/src/render/framegraph/qsortpolicy.cpp
+++ b/src/render/framegraph/qsortpolicy.cpp
@@ -52,6 +52,29 @@ QSortPolicyPrivate::QSortPolicyPrivate()
{
}
+/*!
+ * \class Qt3DRender::QSortPolicy
+ * \inmodule Qt3DRender
+ * \brief Provides storage for the sort types to be used
+ * \since 5.7
+ *
+ * \inherits Qt3DRender::QFrameGraphNode
+ *
+ */
+
+/*!
+ * \qmltype SortPolicy
+ * \inqmlmodule Qt3D.Render
+ * \since 5.7
+ * \ingroup
+ * \instantiates Qt3DRender::QSortPolicy
+ * \brief Provides storage for the sort types to be used
+ *
+ */
+
+/*!
+ * Constructs QSortPolicy with given \a parent.
+ */
QSortPolicy::QSortPolicy(QNode *parent)
: QFrameGraphNode(*new QSortPolicyPrivate, parent)
{
@@ -77,6 +100,16 @@ QNodeCreatedChangeBasePtr QSortPolicy::createNodeCreationChange() const
return creationChange;
}
+/*!
+ \property Qt3DRender::QViewport::sortTypes
+ Specifies the sorting types to be used.
+*/
+
+/*!
+ \qmlproperty QVariantList Qt3D.Render::QSortPolicy::sortTypes
+ Specifies the sorting types to be used.
+
+*/
QVector<QSortPolicy::SortType> QSortPolicy::sortTypes() const
{
Q_D(const QSortPolicy);