Esempio n. 1
0
 void GraphValidator::verify_output_satisfied(const GraphNode &node, ValidationResults &results) const
 {
     auto& inputs = node.inputs();
     for(auto& socket_ref : inputs.all_sockets())
     {
         verify_output_socket_satisfied(node, socket_ref, results);
     }
 }
Esempio n. 2
0
 void GraphValidator::verify_node_satisfied(const GraphNode &node, ValidationResults &results) const
 {
     auto& inputs = node.inputs();
     for(auto& socket_ptr : inputs.attribute_sockets())
     {
         verify_node_socket_satisfied(node, socket_ptr, results);
     }
     for(auto& socket_ptr : inputs.uniform_sockets())
     {
         verify_node_socket_satisfied(node, socket_ptr, results);
     }
 }