|
Blender
V2.93
|
#include <FN_multi_function_builder.hh>
Inherits blender::fn::MultiFunction.
Public Member Functions | |
| CustomMF_GenericConstantArray (GSpan array) | |
| void | call (IndexMask mask, MFParams params, MFContext context) const override |
Public Member Functions inherited from blender::fn::MultiFunction | |
| virtual | ~MultiFunction () |
| virtual uint64_t | hash () const |
| virtual bool | equals (const MultiFunction &UNUSED(other)) const |
| int | param_amount () const |
| IndexRange | param_indices () const |
| MFParamType | param_type (int param_index) const |
| StringRefNull | param_name (int param_index) const |
| StringRefNull | name () const |
| bool | depends_on_context () const |
| const MFSignature & | signature () const |
Additional Inherited Members | |
Protected Member Functions inherited from blender::fn::MultiFunction | |
| void | set_signature (const MFSignature *signature) |
A multi-function that outputs the same array every time. The array is not owned by in instance of this function. The caller is responsible for destructing and freeing the values.
Definition at line 350 of file FN_multi_function_builder.hh.
| blender::fn::CustomMF_GenericConstantArray::CustomMF_GenericConstantArray | ( | GSpan | array | ) |
Definition at line 75 of file multi_function_builder.cc.
References blender::fn::gspan_to_string(), blender::fn::MultiFunction::set_signature(), blender::fn::MultiFunction::signature(), and type.
|
overridevirtual |
Implements blender::fn::MultiFunction.
Definition at line 84 of file multi_function_builder.cc.
References blender::fn::GVectorArray::extend(), mask(), and params.