|
Blender V4.3
|
Inherits blender::fn::lazy_function::GraphExecutorNodeExecuteWrapper.
Public Member Functions | |
| void | execute_node (const lf::FunctionNode &node, lf::Params ¶ms, const lf::Context &context) const |
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 1713 of file geometry_nodes_lazy_function.cc.
|
inlinevirtual |
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 1718 of file geometry_nodes_lazy_function.cc.
References blender::nodes::GeoNodesLFUserData::compute_context, blender::fn::lazy_function::LazyFunction::execute(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_try(), blender::nodes::GeoNodesLFUserData::log_socket_values, params, blender::nodes::should_log_socket_values_for_context(), and blender::fn::lazy_function::Context::storage.
| VectorSet<lf::FunctionNode *>* blender::nodes::RepeatBodyNodeExecuteWrapper::lf_body_nodes_ = nullptr |
Definition at line 1716 of file geometry_nodes_lazy_function.cc.
| const bNode* blender::nodes::RepeatBodyNodeExecuteWrapper::repeat_output_bnode_ = nullptr |
Definition at line 1715 of file geometry_nodes_lazy_function.cc.