Blender V5.0
blender::nodes::RepeatBodyNodeExecuteWrapper Class Reference

Inherits blender::fn::lazy_function::GraphExecutorNodeExecuteWrapper.

Public Member Functions

void execute_node (const lf::FunctionNode &node, lf::Params &params, const lf::Context &context) const override
Public Member Functions inherited from blender::fn::lazy_function::GraphExecutorNodeExecuteWrapper
virtual ~GraphExecutorNodeExecuteWrapper ()=default

Public Attributes

const bNoderepeat_output_bnode_ = nullptr
VectorSet< lf::FunctionNode * > * lf_body_nodes_ = nullptr

Detailed Description

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.

Member Function Documentation

◆ execute_node()

void blender::nodes::RepeatBodyNodeExecuteWrapper::execute_node ( const lf::FunctionNode & node,
lf::Params & params,
const lf::Context & context ) const
inlineoverridevirtual

Member Data Documentation

◆ lf_body_nodes_

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().

◆ repeat_output_bnode_

const bNode* blender::nodes::RepeatBodyNodeExecuteWrapper::repeat_output_bnode_ = nullptr

Definition at line 33 of file geometry_nodes_repeat_zone.cc.

Referenced by execute_node().


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