Blender V4.3
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
 
- 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 1713 of file geometry_nodes_lazy_function.cc.

Member Function Documentation

◆ execute_node()

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

Member Data Documentation

◆ lf_body_nodes_

VectorSet<lf::FunctionNode *>* blender::nodes::RepeatBodyNodeExecuteWrapper::lf_body_nodes_ = nullptr

Definition at line 1716 of file geometry_nodes_lazy_function.cc.

◆ repeat_output_bnode_

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

Definition at line 1715 of file geometry_nodes_lazy_function.cc.


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