Blender
V3.3
|
#include <FN_multi_function_procedure.hh>
Public Member Functions | |
void | set_condition (MFVariable *variable) |
void | set_branch_true (MFInstruction *instruction) |
void | set_branch_false (MFInstruction *instruction) |
#MFBranchInstruction Inline Methods | |
MFVariable * | condition () |
const MFVariable * | condition () const |
MFInstruction * | branch_true () |
const MFInstruction * | branch_true () const |
MFInstruction * | branch_false () |
const MFInstruction * | branch_false () 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 |
What makes a branch instruction special is that it has two successor instructions. One that will be used when a condition variable was true, and one otherwise.
Definition at line 160 of file FN_multi_function_procedure.hh.
|
inline |
Definition at line 457 of file FN_multi_function_procedure.hh.
Referenced by blender::fn::MFProcedureExecutor::call(), blender::fn::MFProcedureDotExport::create_edges(), and blender::fn::MFInstructionCursor::next().
|
inline |
Definition at line 462 of file FN_multi_function_procedure.hh.
|
inline |
Definition at line 447 of file FN_multi_function_procedure.hh.
Referenced by blender::fn::MFProcedureExecutor::call(), blender::fn::MFProcedureDotExport::create_edges(), and blender::fn::MFInstructionCursor::next().
|
inline |
Definition at line 452 of file FN_multi_function_procedure.hh.
|
inline |
Definition at line 437 of file FN_multi_function_procedure.hh.
Referenced by blender::fn::MFProcedureExecutor::call(), and blender::fn::MFProcedureDotExport::instruction_to_string().
|
inline |
Definition at line 442 of file FN_multi_function_procedure.hh.
void blender::fn::MFBranchInstruction::set_branch_false | ( | MFInstruction * | instruction | ) |
Definition at line 127 of file multi_function_procedure.cc.
References blender::fn::MFInstruction::prev_.
Referenced by blender::fn::MFInstructionCursor::set_next().
void blender::fn::MFBranchInstruction::set_branch_true | ( | MFInstruction * | instruction | ) |
Definition at line 116 of file multi_function_procedure.cc.
References blender::fn::MFInstruction::prev_.
Referenced by blender::fn::MFInstructionCursor::set_next().
void blender::fn::MFBranchInstruction::set_condition | ( | MFVariable * | variable | ) |
Definition at line 105 of file multi_function_procedure.cc.
Referenced by blender::fn::MFProcedureBuilder::add_branch().