summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2019-10-04 14:22:07 +0200
committerPaul Lemire <paul.lemire@kdab.com>2019-10-07 07:00:02 +0200
commitf36768ea6ea9e3b18963210682502e3b0cdcc5f3 (patch)
treead21e0978a938365b79aba8584069e0d25a57ead /src/render/framegraph
parente2d409e4dc6847ece36d3cddb3b2ae43a6879aa1 (diff)
QSortPolicy: document Texture sorting
Change-Id: Id3372bb01b84b5ac67e19b0f5dd0b605edb83f8f Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/render/framegraph')
-rw-r--r--src/render/framegraph/qsortpolicy.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/framegraph/qsortpolicy.cpp b/src/render/framegraph/qsortpolicy.cpp
index c8e3d23c5..a24dd5eae 100644
--- a/src/render/framegraph/qsortpolicy.cpp
+++ b/src/render/framegraph/qsortpolicy.cpp
@@ -102,6 +102,8 @@ QSortPolicyPrivate::QSortPolicyPrivate()
\value FrontToBack sort the objects from front to back. The opposite of
BackToFront.
+
+ \value [since 5.14] Texture sort the objects to minimize texture changes.
*/
/*!
@@ -124,6 +126,7 @@ QSortPolicyPrivate::QSortPolicyPrivate()
\li Material - sort the objects based on their material value
\li FrontToBack - sort the objects from front to back. The opposite of
BackToFront.
+ \li [since 5.14] Texture - sort the objects to minimize texture changes.
\endlist
*/