diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-10 13:40:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-10 13:40:30 +0300 |
commit | 3060217d39747589d66bc4501ceaf30f59923cdc (patch) | |
tree | 9fd407b85f721a5298e941dbe59f25329776adc4 /source/blender/nodes/NOD_node_tree_ref.hh | |
parent | 715f57371baa627ca677a8faf88e56ebb1180027 (diff) |
Cleanup: move public doc-strings into headers for 'nodes'
Ref T92709
Diffstat (limited to 'source/blender/nodes/NOD_node_tree_ref.hh')
-rw-r--r-- | source/blender/nodes/NOD_node_tree_ref.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/nodes/NOD_node_tree_ref.hh b/source/blender/nodes/NOD_node_tree_ref.hh index 26a5dc9d60f..65789069231 100644 --- a/source/blender/nodes/NOD_node_tree_ref.hh +++ b/source/blender/nodes/NOD_node_tree_ref.hh @@ -279,6 +279,9 @@ class NodeTreeRef : NonCopyable, NonMovable { const NodeRef *find_node(const bNode &bnode) const; + /** + * \return True when there is a link cycle. Unavailable sockets are ignored. + */ bool has_link_cycles() const; bool has_undefined_nodes_or_sockets() const; @@ -297,6 +300,10 @@ class NodeTreeRef : NonCopyable, NonMovable { bool has_cycle = false; }; + /** + * Sort nodes topologically from left to right or right to left. + * In the future the result if this could be cached on #NodeTreeRef. + */ ToposortResult toposort(ToposortDirection direction) const; bNodeTree *btree() const; |