Blender  V3.3
Public Attributes | List of all members
blender::nodes::NodeTreeRef::ToposortResult Struct Reference

#include <NOD_node_tree_ref.hh>

Public Attributes

Vector< const NodeRef * > sorted_nodes
 
bool has_cycle = false
 

Detailed Description

Definition at line 284 of file NOD_node_tree_ref.hh.

Member Data Documentation

◆ has_cycle

bool blender::nodes::NodeTreeRef::ToposortResult::has_cycle = false

There can't be a correct topological sort of the nodes when there is a cycle. The nodes will still be sorted to some degree. The caller has to decide whether it can handle non-perfect sorts or not.

Definition at line 291 of file NOD_node_tree_ref.hh.

◆ sorted_nodes

Vector<const NodeRef *> blender::nodes::NodeTreeRef::ToposortResult::sorted_nodes

The documentation for this struct was generated from the following file: