Blender
V3.3
|
Public Member Functions | |
ValueAllocator (LinearAllocator<> &linear_allocator) | |
VariableValue_GVArray * | obtain_GVArray (const GVArray &varray) |
VariableValue_GVVectorArray * | obtain_GVVectorArray (const GVVectorArray &varray) |
VariableValue_Span * | obtain_Span_not_owned (void *buffer) |
VariableValue_Span * | obtain_Span (const CPPType &type, int size) |
VariableValue_GVectorArray * | obtain_GVectorArray_not_owned (GVectorArray &data) |
VariableValue_GVectorArray * | obtain_GVectorArray (const CPPType &type, int size) |
VariableValue_OneSingle * | obtain_OneSingle (const CPPType &type) |
VariableValue_OneVector * | obtain_OneVector (const CPPType &type) |
void | release_value (VariableValue *value, const MFDataType &data_type) |
The ValueAllocator is responsible for providing memory for variables and their values. It also manages the reuse of buffers to improve performance.
Definition at line 126 of file multi_function_procedure_executor.cc.
|
inline |
Definition at line 157 of file multi_function_procedure_executor.cc.
|
inline |
Definition at line 161 of file multi_function_procedure_executor.cc.
Referenced by blender::fn::VariableStates::add_initial_variable_states().
|
inline |
Definition at line 210 of file multi_function_procedure_executor.cc.
Referenced by blender::fn::VariableState::ensure_is_mutable().
|
inline |
Definition at line 205 of file multi_function_procedure_executor.cc.
References data.
Referenced by blender::fn::VariableStates::add_initial_variable_states(), and blender::fn::VariableState::ensure_is_mutable().
|
inline |
Definition at line 166 of file multi_function_procedure_executor.cc.
Referenced by blender::fn::VariableStates::add_initial_variable_states().
|
inline |
Definition at line 216 of file multi_function_procedure_executor.cc.
References blender::LinearAllocator< Allocator >::allocate(), buffer, blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and type.
Referenced by blender::fn::VariableState::ensure_is_mutable__one().
|
inline |
Definition at line 234 of file multi_function_procedure_executor.cc.
References type.
Referenced by blender::fn::VariableState::ensure_is_mutable__one().
|
inline |
Definition at line 176 of file multi_function_procedure_executor.cc.
References blender::LinearAllocator< Allocator >::allocate(), buffer, blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), size(), and type.
Referenced by blender::fn::VariableState::ensure_is_mutable().
|
inline |
Definition at line 171 of file multi_function_procedure_executor.cc.
References buffer.
Referenced by blender::fn::VariableStates::add_initial_variable_states(), and blender::fn::VariableState::ensure_is_mutable().
|
inline |
Definition at line 240 of file multi_function_procedure_executor.cc.
References blender::fn::VariableValue_GVectorArray::data, blender::fn::VariableValue_OneVector::data, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), blender::fn::MFDataType::single_type(), blender::fn::VariableValue::type, and type.
Referenced by blender::fn::VariableState::destruct_value(), blender::fn::VariableState::ensure_is_mutable(), and blender::fn::VariableState::ensure_is_mutable__one().