diff options
Diffstat (limited to 'src/render/backend/framegraph')
-rw-r--r-- | src/render/backend/framegraph/framegraphvisitor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/backend/framegraph/framegraphvisitor.cpp b/src/render/backend/framegraph/framegraphvisitor.cpp index 955e6ff30..be8ad4c34 100644 --- a/src/render/backend/framegraph/framegraphvisitor.cpp +++ b/src/render/backend/framegraph/framegraphvisitor.cpp @@ -78,6 +78,11 @@ void FrameGraphVisitor::traverse(FrameGraphNode *root, void FrameGraphVisitor::visit(Render::FrameGraphNode *node) { + // TO DO: check if node is a subtree selector + // in which case, we only visit the subtrees returned + // by the selector functor and not all the children + // as we would otherwise do + // Recurse to children (if we have any), otherwise if this is a leaf node, // initiate a rendering from the current camera Q_FOREACH (Render::FrameGraphNode *n, node->children()) |