Blender V5.3
blender::fn::multi_function::ValueAllocator Class Reference

Inherits blender::blender::NonCopyable, and blender::blender::NonMovable.

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 DataType &data_type)

Detailed Description

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 125 of file multi_function_procedure_executor.cc.

Constructor & Destructor Documentation

◆ ValueAllocator()

blender::fn::multi_function::ValueAllocator::ValueAllocator ( LinearAllocator<> & linear_allocator)
inline

Definition at line 156 of file multi_function_procedure_executor.cc.

Member Function Documentation

◆ obtain_GVArray()

VariableValue_GVArray * blender::fn::multi_function::ValueAllocator::obtain_GVArray ( const GVArray & varray)
inline

Definition at line 158 of file multi_function_procedure_executor.cc.

◆ obtain_GVectorArray()

VariableValue_GVectorArray * blender::fn::multi_function::ValueAllocator::obtain_GVectorArray ( const CPPType & type,
int size )
inline

◆ obtain_GVectorArray_not_owned()

VariableValue_GVectorArray * blender::fn::multi_function::ValueAllocator::obtain_GVectorArray_not_owned ( GVectorArray & data)
inline

◆ obtain_GVVectorArray()

VariableValue_GVVectorArray * blender::fn::multi_function::ValueAllocator::obtain_GVVectorArray ( const GVVectorArray & varray)
inline

Definition at line 163 of file multi_function_procedure_executor.cc.

◆ obtain_OneSingle()

◆ obtain_OneVector()

VariableValue_OneVector * blender::fn::multi_function::ValueAllocator::obtain_OneVector ( const CPPType & type)
inline

◆ obtain_Span()

◆ obtain_Span_not_owned()

VariableValue_Span * blender::fn::multi_function::ValueAllocator::obtain_Span_not_owned ( void * buffer)
inline

◆ release_value()


The documentation for this class was generated from the following file: