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

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

Public Member Functions

 ValueAllocator (LinearAllocator<> &linear_allocator)
 
VariableValue_GVArrayobtain_GVArray (const GVArray &varray)
 
VariableValue_GVVectorArrayobtain_GVVectorArray (const GVVectorArray &varray)
 
VariableValue_Spanobtain_Span_not_owned (void *buffer)
 
VariableValue_Spanobtain_Span (const CPPType &type, int size)
 
VariableValue_GVectorArrayobtain_GVectorArray_not_owned (GVectorArray &data)
 
VariableValue_GVectorArrayobtain_GVectorArray (const CPPType &type, int size)
 
VariableValue_OneSingleobtain_OneSingle (const CPPType &type)
 
VariableValue_OneVectorobtain_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 121 of file multi_function_procedure_executor.cc.

Constructor & Destructor Documentation

◆ ValueAllocator()

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

Definition at line 152 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

◆ 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

◆ 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: