Blender
V3.3
|
Public Attributes | |
VariableValue * | value_ = nullptr |
int | tot_initialized_ = 0 |
void * | caller_provided_storage_ = nullptr |
This class keeps track of a single variable during evaluation.
Definition at line 312 of file multi_function_procedure_executor.cc.
|
inline |
Definition at line 363 of file multi_function_procedure_executor.cc.
References BLI_assert, data, mask(), params, blender::fn::MFDataType::single_type(), tot_initialized_, blender::fn::VariableValue::type, and value_.
Referenced by blender::fn::VariableStates::add_as_param().
|
inline |
Definition at line 542 of file multi_function_procedure_executor.cc.
References BLI_assert, BLI_assert_unreachable, data, is_one(), params, ptr, blender::fn::MFDataType::single_type(), blender::fn::VariableValue::type, and value_.
Referenced by blender::fn::VariableStates::add_as_param__one().
|
inline |
Definition at line 475 of file multi_function_procedure_executor.cc.
References BLI_assert, BLI_assert_unreachable, data, ensure_is_mutable(), mask(), params, blender::fn::MFDataType::single_type(), tot_initialized_, blender::fn::VariableValue::type, and value_.
Referenced by blender::fn::VariableStates::add_as_param().
|
inline |
Definition at line 628 of file multi_function_procedure_executor.cc.
References BLI_assert, BLI_assert_unreachable, data, ensure_is_mutable__one(), is_one(), params, blender::fn::MFDataType::single_type(), blender::fn::VariableValue::type, and value_.
Referenced by blender::fn::VariableStates::add_as_param__one().
|
inline |
Definition at line 508 of file multi_function_procedure_executor.cc.
References BLI_assert, BLI_assert_unreachable, data, ensure_is_mutable(), mask(), params, blender::fn::MFDataType::single_type(), blender::IndexMask::size(), tot_initialized_, blender::fn::VariableValue::type, and value_.
Referenced by blender::fn::VariableStates::add_as_param().
|
inline |
Definition at line 657 of file multi_function_procedure_executor.cc.
References BLI_assert, BLI_assert_unreachable, ensure_is_mutable__one(), is_one(), mask(), params, blender::fn::MFDataType::single_type(), tot_initialized_, blender::fn::VariableValue::type, and value_.
Referenced by blender::fn::VariableStates::add_as_param__one().
|
inline |
Destruct the masked elements in this variable.
Definition at line 699 of file multi_function_procedure_executor.cc.
References BLI_assert, caller_provided_storage_, data, ensure_is_mutable(), mask(), blender::fn::MFDataType::single_type(), blender::IndexMask::size(), tot_initialized_, blender::fn::VariableValue::type, type, UNUSED_VARS_NDEBUG, and value_.
Referenced by blender::fn::VariableStates::destruct().
|
inline |
Definition at line 321 of file multi_function_procedure_executor.cc.
References blender::fn::ValueAllocator::release_value(), and value_.
Referenced by blender::fn::VariableStates::destruct().
|
inline |
Definition at line 402 of file multi_function_procedure_executor.cc.
References BLI_assert_unreachable, caller_provided_storage_, blender::fn::MFDataType::category(), data, blender::fn::VariableValue_Span::data, blender::fn::VariableValue_GVectorArray::data, ELEM, blender::GVectorArray::extend(), blender::IndexMask::min_array_size(), blender::fn::ValueAllocator::obtain_GVectorArray(), blender::fn::ValueAllocator::obtain_GVectorArray_not_owned(), blender::fn::ValueAllocator::obtain_Span(), blender::fn::ValueAllocator::obtain_Span_not_owned(), blender::fn::ValueAllocator::release_value(), blender::fn::MFDataType::Single, blender::fn::MFDataType::single_type(), blender::fn::VariableValue::type, type, value_, blender::fn::MFDataType::Vector, vector, and blender::fn::MFDataType::vector_base_type().
Referenced by add_as_mutable(), add_as_output(), blender::fn::MFProcedureExecutor::call(), and destruct().
|
inline |
Definition at line 575 of file multi_function_procedure_executor.cc.
References BLI_assert, BLI_assert_unreachable, blender::fn::MFDataType::category(), blender::fn::VariableValue_OneSingle::data, blender::fn::VariableValue_OneVector::data, ELEM, blender::GVectorArray::extend(), blender::fn::VariableValue_OneSingle::is_initialized, is_one(), blender::fn::ValueAllocator::obtain_OneSingle(), blender::fn::ValueAllocator::obtain_OneVector(), blender::fn::ValueAllocator::release_value(), blender::fn::MFDataType::Single, blender::fn::MFDataType::single_type(), tot_initialized_, blender::fn::VariableValue::type, type, value_, blender::fn::MFDataType::Vector, and blender::fn::MFDataType::vector_base_type().
Referenced by add_as_mutable__one(), and add_as_output__one().
|
inline |
Definition at line 769 of file multi_function_procedure_executor.cc.
References BLI_assert, BLI_assert_unreachable, data, mask(), tot_initialized_, blender::fn::VariableValue::type, and value_.
Referenced by blender::fn::MFProcedureExecutor::call().
Definition at line 352 of file multi_function_procedure_executor.cc.
References blender::IndexMask::size(), and tot_initialized_.
Referenced by blender::fn::MFProcedureExecutor::call().
Definition at line 357 of file multi_function_procedure_executor.cc.
References tot_initialized_, and UNUSED_VARS.
Referenced by blender::fn::MFProcedureExecutor::call().
|
inline |
Definition at line 329 of file multi_function_procedure_executor.cc.
References BLI_assert_unreachable, tot_initialized_, blender::fn::VariableValue::type, and value_.
Referenced by add_as_input__one(), add_as_mutable__one(), add_as_output__one(), and ensure_is_mutable__one().
|
inline |
Definition at line 806 of file multi_function_procedure_executor.cc.
References BLI_assert, T, blender::fn::VariableValue::type, and value_.
|
inline |
Definition at line 813 of file multi_function_procedure_executor.cc.
References BLI_assert, T, blender::fn::VariableValue::type, and value_.
void* blender::fn::VariableState::caller_provided_storage_ = nullptr |
Definition at line 319 of file multi_function_procedure_executor.cc.
Referenced by blender::fn::VariableStates::add_initial_variable_states(), destruct(), and ensure_is_mutable().
int blender::fn::VariableState::tot_initialized_ = 0 |
Number of indices that are currently initialized in this variable.
Definition at line 317 of file multi_function_procedure_executor.cc.
Referenced by add_as_input(), add_as_mutable(), add_as_output(), add_as_output__one(), blender::fn::VariableStates::add_initial_variable_states(), destruct(), ensure_is_mutable__one(), indices_split(), is_fully_initialized(), is_fully_uninitialized(), and is_one().
VariableValue* blender::fn::VariableState::value_ = nullptr |
The current value of the variable. The storage format may change over time.
Definition at line 315 of file multi_function_procedure_executor.cc.
Referenced by add_as_input(), add_as_input__one(), add_as_mutable(), add_as_mutable__one(), add_as_output(), add_as_output__one(), blender::fn::VariableStates::add_initial_variable_states(), destruct(), destruct_value(), ensure_is_mutable(), ensure_is_mutable__one(), indices_split(), is_one(), and value_as().