|
Blender
V2.93
|
#include <FN_multi_function_builder.hh>
Inherits blender::fn::MultiFunction.
Public Member Functions | |
| CustomMF_GenericConstant (const CPPType &type, const void *value) | |
| void | call (IndexMask mask, MFParams params, MFContext context) const override |
| uint64_t | hash () const override |
| bool | equals (const MultiFunction &other) const override |
Public Member Functions inherited from blender::fn::MultiFunction | |
| virtual | ~MultiFunction () |
| 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 |
Friends | |
| template<typename T > | |
| class | CustomMF_Constant |
Additional Inherited Members | |
Protected Member Functions inherited from blender::fn::MultiFunction | |
| void | set_signature (const MFSignature *signature) |
A multi-function that outputs the same value every time. The value is not owned by an instance of this function. The caller is responsible for destructing and freeing the value.
Definition at line 331 of file FN_multi_function_builder.hh.
| blender::fn::CustomMF_GenericConstant::CustomMF_GenericConstant | ( | const CPPType & | type, |
| const void * | value | ||
| ) |
Definition at line 23 of file multi_function_builder.cc.
References blender::fn::MultiFunction::set_signature(), blender::fn::MultiFunction::signature(), and type.
|
overridevirtual |
Implements blender::fn::MultiFunction.
Definition at line 34 of file multi_function_builder.cc.
References blender::fn::CPPType::fill_uninitialized_indices(), mask(), output, and params.
|
override |
Definition at line 47 of file multi_function_builder.cc.
References blender::fn::CPPType::is_equal().
|
overridevirtual |
Reimplemented from blender::fn::MultiFunction.
Definition at line 42 of file multi_function_builder.cc.
References blender::fn::CPPType::hash().
|
friend |
Definition at line 337 of file FN_multi_function_builder.hh.