Blender V5.3
blender::fn::lazy_function::GraphExecutorNodeExecuteWrapper Class Referenceabstract

#include <FN_lazy_function_graph_executor.hh>

Inherited by blender::nodes::ForeachGeometryElementNodeExecuteWrapper, and blender::nodes::RepeatBodyNodeExecuteWrapper.

Public Member Functions

virtual ~GraphExecutorNodeExecuteWrapper ()=default
virtual void execute_node (const FunctionNode &node, Params &params, const Context &context) const =0

Detailed Description

Can be used to pass extra context into the execution of a function. The main alternative to this is to create a wrapper LazyFunction for the FunctionNodes. Using this light weight wrapper is preferable if possible.

Definition at line 78 of file FN_lazy_function_graph_executor.hh.

Constructor & Destructor Documentation

◆ ~GraphExecutorNodeExecuteWrapper()

virtual blender::fn::lazy_function::GraphExecutorNodeExecuteWrapper::~GraphExecutorNodeExecuteWrapper ( )
virtualdefault

Member Function Documentation

◆ execute_node()

virtual void blender::fn::lazy_function::GraphExecutorNodeExecuteWrapper::execute_node ( const FunctionNode & node,
Params & params,
const Context & context ) const
pure virtual

Is expected to run node.function().execute(params, context) but might do some extra work, like adjusting the context.

References node.


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