|
Blender V4.3
|
#include <FN_multi_function_procedure.hh>
Inherits blender::fn::multi_function::Instruction.
Public Member Functions | |
| void | set_next (Instruction *instruction) |
| void | set_param_variable (int param_index, Variable *variable) |
| void | set_params (Span< Variable * > variables) |
#CallInstruction Inline Methods | |
| const MultiFunction & | fn () const |
| Instruction * | next () |
| const Instruction * | next () const |
| Span< Variable * > | params () |
| Span< const Variable * > | params () const |
Public Member Functions inherited from blender::fn::multi_function::Instruction | |
| InstructionType | type () const |
| Span< InstructionCursor > | prev () const |
Additional Inherited Members | |
Protected Attributes inherited from blender::fn::multi_function::Instruction | |
| InstructionType | type_ |
| Vector< InstructionCursor > | prev_ |
| friend | Procedure |
| friend | CallInstruction |
| friend | BranchInstruction |
| friend | DestructInstruction |
| friend | DummyInstruction |
| friend | ReturnInstruction |
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 127 of file FN_multi_function_procedure.hh.
|
inline |
Definition at line 388 of file FN_multi_function_procedure.hh.
Referenced by blender::fn::multi_function::execute_call_instruction(), and blender::fn::multi_function::ProcedureDotExport::instruction_to_string().
|
inline |
Definition at line 393 of file FN_multi_function_procedure.hh.
Referenced by blender::fn::multi_function::ProcedureExecutor::call(), and blender::fn::multi_function::procedure_optimization::move_destructs_up().
|
inline |
Definition at line 398 of file FN_multi_function_procedure.hh.
Definition at line 408 of file FN_multi_function_procedure.hh.
| void blender::fn::multi_function::CallInstruction::set_next | ( | Instruction * | instruction | ) |
Definition at line 78 of file multi_function_procedure.cc.
References blender::fn::multi_function::Instruction::prev_.
Referenced by blender::fn::multi_function::procedure_optimization::move_destructs_up().
| void blender::fn::multi_function::CallInstruction::set_param_variable | ( | int | param_index, |
| Variable * | variable ) |
Definition at line 89 of file multi_function_procedure.cc.
References BLI_assert, blender::fn::multi_function::ParamType::data_type(), and blender::fn::multi_function::MultiFunction::param_type().
Referenced by blender::fn::multi_function::ProcedureBuilder::add_call(), and set_params().
Definition at line 104 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::multi_function::ProcedureBuilder::add_call_with_all_variables().