Blender
V3.3
|
Public Member Functions | |
VariableStates (LinearAllocator<> &linear_allocator, const MFProcedure &procedure, IndexMask full_mask) | |
~VariableStates () | |
ValueAllocator & | value_allocator () |
const IndexMask & | full_mask () const |
void | add_initial_variable_states (const MFProcedureExecutor &fn, const MFProcedure &procedure, MFParams ¶ms) |
void | add_as_param (VariableState &variable_state, MFParamsBuilder ¶ms, const MFParamType ¶m_type, const IndexMask &mask) |
void | add_as_param__one (VariableState &variable_state, MFParamsBuilder ¶ms, const MFParamType ¶m_type, const IndexMask &mask) |
void | destruct (const MFVariable &variable, const IndexMask &mask) |
VariableState & | get_variable_state (const MFVariable &variable) |
Keeps track of the states of all variables during evaluation.
Definition at line 822 of file multi_function_procedure_executor.cc.
|
inline |
Definition at line 831 of file multi_function_procedure_executor.cc.
|
inline |
Definition at line 841 of file multi_function_procedure_executor.cc.
References blender::fn::MFVariable::data_type(), state, and blender::fn::MFProcedure::variables().
|
inline |
Definition at line 917 of file multi_function_procedure_executor.cc.
References blender::fn::VariableState::add_as_input(), blender::fn::VariableState::add_as_mutable(), blender::fn::VariableState::add_as_output(), blender::fn::MFParamType::data_type(), blender::fn::MFParamType::Input, blender::fn::MFParamType::interface_type(), mask(), blender::fn::MFParamType::Mutable, blender::fn::MFParamType::Output, and params.
Referenced by blender::fn::fill_params().
|
inline |
Definition at line 939 of file multi_function_procedure_executor.cc.
References blender::fn::VariableState::add_as_input__one(), blender::fn::VariableState::add_as_mutable__one(), blender::fn::VariableState::add_as_output__one(), blender::fn::MFParamType::data_type(), blender::fn::MFParamType::Input, blender::fn::MFParamType::interface_type(), mask(), blender::fn::MFParamType::Mutable, blender::fn::MFParamType::Output, and params.
Referenced by blender::fn::fill_params__one().
|
inline |
Definition at line 862 of file multi_function_procedure_executor.cc.
References BLI_assert, blender::fn::VariableState::caller_provided_storage_, blender::fn::MFParamType::category(), data, blender::fn::MFVariable::index_in_procedure(), blender::fn::ValueAllocator::obtain_GVArray(), blender::fn::ValueAllocator::obtain_GVectorArray_not_owned(), blender::fn::ValueAllocator::obtain_GVVectorArray(), blender::fn::ValueAllocator::obtain_Span_not_owned(), blender::fn::MultiFunction::param_indices(), blender::fn::MultiFunction::param_type(), blender::fn::MFProcedure::params(), params, blender::fn::SingleInput, blender::fn::SingleMutable, blender::fn::SingleOutput, blender::IndexMask::size(), blender::fn::VariableState::tot_initialized_, blender::fn::VariableState::value_, blender::fn::VectorInput, blender::fn::VectorMutable, and blender::fn::VectorOutput.
|
inline |
Definition at line 961 of file multi_function_procedure_executor.cc.
References blender::fn::MFVariable::data_type(), blender::fn::VariableState::destruct(), blender::fn::VariableState::destruct_value(), get_variable_state(), and mask().
|
inline |
Definition at line 857 of file multi_function_procedure_executor.cc.
Referenced by blender::fn::execute_call_instruction().
|
inline |
Definition at line 969 of file multi_function_procedure_executor.cc.
References blender::fn::MFVariable::index_in_procedure().
Referenced by destruct(), and blender::fn::gather_parameter_variable_states().
|
inline |
Definition at line 852 of file multi_function_procedure_executor.cc.