|
Blender V5.0
|
Inherits blender::fn::lazy_function::GraphExecutorNodeExecuteWrapper.
Public Member Functions | |
| void | execute_node (const lf::FunctionNode &node, lf::Params ¶ms, const lf::Context &context) const override |
| Public Member Functions inherited from blender::fn::lazy_function::GraphExecutorNodeExecuteWrapper | |
| virtual | ~GraphExecutorNodeExecuteWrapper ()=default |
Public Attributes | |
| const bNode * | repeat_output_bnode_ = nullptr |
| VectorSet< lf::FunctionNode * > * | lf_body_nodes_ = nullptr |
Wraps the execution of a repeat loop body. The purpose is to setup the correct ComputeContext inside of the loop body. This is necessary to support correct logging inside of a repeat zone. An alternative would be to use a separate LazyFunction for every iteration, but that would have higher overhead.
Definition at line 31 of file geometry_nodes_repeat_zone.cc.
|
inlineoverridevirtual |
Is expected to run node.function().execute(params, context) but might do some extra work, like adjusting the context.
Implements blender::fn::lazy_function::GraphExecutorNodeExecuteWrapper.
Definition at line 36 of file geometry_nodes_repeat_zone.cc.
References blender::nodes::GeoNodesUserData::compute_context, blender::fn::lazy_function::FunctionNode::function(), blender::ComputeContext::hash(), lf_body_nodes_, blender::nodes::GeoNodesUserData::log_socket_values, params, repeat_output_bnode_, and blender::nodes::should_log_socket_values_for_context().
| VectorSet<lf::FunctionNode *>* blender::nodes::RepeatBodyNodeExecuteWrapper::lf_body_nodes_ = nullptr |
Definition at line 34 of file geometry_nodes_repeat_zone.cc.
Referenced by execute_node().
Definition at line 33 of file geometry_nodes_repeat_zone.cc.
Referenced by execute_node().