Blender
V3.3
|
#include <FN_multi_function_procedure.hh>
Public Member Functions | |
void | set_next (MFInstruction *instruction) |
void | set_param_variable (int param_index, MFVariable *variable) |
void | set_params (Span< MFVariable * > variables) |
#MFCallInstruction Inline Methods | |
const MultiFunction & | fn () const |
MFInstruction * | next () |
const MFInstruction * | next () const |
Span< MFVariable * > | params () |
Span< const MFVariable * > | params () const |
![]() | |
MFInstructionType | type () const |
Span< MFInstructionCursor > | prev () const |
Additional Inherited Members | |
![]() | |
MFInstructionType | type_ |
Vector< MFInstructionCursor > | prev_ |
friend | MFProcedure |
friend | MFCallInstruction |
friend | MFBranchInstruction |
friend | MFDestructInstruction |
friend | MFDummyInstruction |
friend | MFReturnInstruction |
References a multi-function that is evaluated when the instruction is executed. It also references the variables whose data will be passed into the multi-function.
Definition at line 134 of file FN_multi_function_procedure.hh.
|
inline |
Definition at line 406 of file FN_multi_function_procedure.hh.
Referenced by blender::fn::execute_call_instruction(), and blender::fn::MFProcedureDotExport::instruction_to_string().
|
inline |
Definition at line 411 of file FN_multi_function_procedure.hh.
Referenced by blender::fn::MFProcedureExecutor::call(), and blender::fn::procedure_optimization::move_destructs_up().
|
inline |
Definition at line 416 of file FN_multi_function_procedure.hh.
|
inline |
Definition at line 421 of file FN_multi_function_procedure.hh.
Referenced by blender::fn::gather_parameter_variable_states(), blender::fn::MFProcedureDotExport::instruction_to_string(), and blender::fn::procedure_optimization::move_destructs_up().
|
inline |
Definition at line 426 of file FN_multi_function_procedure.hh.
void blender::fn::MFCallInstruction::set_next | ( | MFInstruction * | instruction | ) |
Definition at line 74 of file multi_function_procedure.cc.
References blender::fn::MFInstruction::prev_.
Referenced by blender::fn::procedure_optimization::move_destructs_up().
void blender::fn::MFCallInstruction::set_param_variable | ( | int | param_index, |
MFVariable * | variable | ||
) |
Definition at line 85 of file multi_function_procedure.cc.
References BLI_assert, blender::fn::MFParamType::data_type(), blender::fn::MFVariable::data_type(), and blender::fn::MultiFunction::param_type().
Referenced by blender::fn::MFProcedureBuilder::add_call(), and set_params().
void blender::fn::MFCallInstruction::set_params | ( | Span< MFVariable * > | variables | ) |
Definition at line 97 of file multi_function_procedure.cc.
References BLI_assert, blender::Span< T >::index_range(), set_param_variable(), and blender::Span< T >::size().
Referenced by blender::fn::MFProcedureBuilder::add_call_with_all_variables().