diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2016-10-13 11:20:51 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-10-14 10:01:18 +0000 |
commit | 2c147f2be69ada6aa896e7fb753c3c05fbf46730 (patch) | |
tree | bb66404af1d9030e6d7ec291b285c5b658e22689 /src/render/framegraph/qframegraphnode.cpp | |
parent | 87efd2423e11b2103c5e50528b6f704d3fc2c84a (diff) |
Give access to FrameGraphNode as a grouping node
This is convenient to allow creating (Q)FrameGraphNode and have them
take part in the tree traversal even though they don't change any state.
Allows for easy grouping of frame graph parts, and even needed in some
situations in conjunction with NodeInstantiator.
Change-Id: If33d48801781113a174971398b33c27d55fa1423
Task-Id: QTBUG-55908
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/framegraph/qframegraphnode.cpp')
-rw-r--r-- | src/render/framegraph/qframegraphnode.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/render/framegraph/qframegraphnode.cpp b/src/render/framegraph/qframegraphnode.cpp index c60c859ac..36a9f737a 100644 --- a/src/render/framegraph/qframegraphnode.cpp +++ b/src/render/framegraph/qframegraphnode.cpp @@ -56,8 +56,10 @@ QFrameGraphNodePrivate::QFrameGraphNodePrivate() \brief Base class of all FrameGraph configuration nodes. - This is an abstract class so it cannot be instanced directly - but rather through one of its subclasses. + This class is rarely instanced directly since it doesn't provide + any frame graph specific behavior, although it can be convenient + to use for grouping other nodes together in dynamic frame graphs. + The actual behavior comes from the subclasses. The subclasses are: \table @@ -112,8 +114,10 @@ QFrameGraphNodePrivate::QFrameGraphNodePrivate() \since 5.5 \brief Base class of all FrameGraph configuration nodes. - This is an abstract class so it cannot be instanced directly - but rather through one of its subclasses. + This class is rarely instanced directly since it doesn't provide + any frame graph specific behavior, although it can be convenient + to use for grouping other nodes together in dynamic frame graphs. + The actual behavior comes from the subclasses. The subclasses are: \table |