Blender
V3.3
|
#include <FN_multi_function_builder.hh>
Public Member Functions | |
template<typename ElementFn , typename ExecPreset = CustomMF_presets::Materialized> | |
CustomMF (const char *name, ElementFn element_fn, ExecPreset exec_preset=CustomMF_presets::Materialized()) | |
void | call (IndexMask mask, MFParams params, MFContext UNUSED(context)) const override |
![]() | |
virtual | ~MultiFunction () |
void | call_auto (IndexMask mask, MFParams params, MFContext context) const |
virtual void | call (IndexMask mask, MFParams params, MFContext context) const =0 |
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 |
virtual std::string | debug_name () const |
bool | depends_on_context () const |
const MFSignature & | signature () const |
ExecutionHints | execution_hints () const |
Static Public Member Functions | |
template<typename ElementFn , typename ExecPreset , size_t... I> | |
static void | execute (ElementFn element_fn, ExecPreset exec_preset, IndexMask mask, MFParams params, std::index_sequence< I... >) |
template<size_t... I> | |
static void | add_signature_parameters (MFSignatureBuilder &signature, std::index_sequence< I... >) |
Additional Inherited Members | |
![]() | |
void | set_signature (const MFSignature *signature) |
virtual ExecutionHints | get_execution_hints () const |
Definition at line 315 of file FN_multi_function_builder.hh.
|
inline |
Definition at line 324 of file FN_multi_function_builder.hh.
References blender::fn::CustomMF< ParamTags >::add_signature_parameters(), blender::fn::CustomMF< ParamTags >::execute(), mask(), blender::fn::MultiFunction::name(), params, blender::fn::MultiFunction::set_signature(), blender::fn::MultiFunction::signature(), and blender::TypeSequence< T >::size().
|
inlinestatic |
Definition at line 399 of file FN_multi_function_builder.hh.
References blender::fn::MultiFunction::signature().
Referenced by blender::fn::CustomMF< ParamTags >::CustomMF().
|
inlineoverride |
Definition at line 411 of file FN_multi_function_builder.hh.
|
inlinestatic |
Definition at line 340 of file FN_multi_function_builder.hh.
References blender::fn::detail::execute_array(), blender::fn::materialize_detail::execute_materialized(), I, mask(), blender::fn::CustomMF_presets::Materialized, params, blender::fn::SingleInput, blender::fn::SingleOutput, blender::TypeSequence< T >::size(), and T.
Referenced by blender::fn::CustomMF< ParamTags >::CustomMF().