Blender  V2.93
Public Member Functions | Static Public Member Functions | List of all members
blender::fn::CustomMF_Convert< From, To > Class Template Reference

#include <FN_multi_function_builder.hh>

Inherits blender::fn::MultiFunction.

Public Member Functions

 CustomMF_Convert ()
 
void call (IndexMask mask, MFParams params, MFContext UNUSED(context)) const override
 
- Public Member Functions inherited from blender::fn::MultiFunction
virtual ~MultiFunction ()
 
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
 
bool depends_on_context () const
 
const MFSignaturesignature () const
 

Static Public Member Functions

static MFSignature create_signature ()
 

Additional Inherited Members

- Protected Member Functions inherited from blender::fn::MultiFunction
void set_signature (const MFSignature *signature)
 

Detailed Description

template<typename From, typename To>
class blender::fn::CustomMF_Convert< From, To >

Generates a multi-function that converts between two types.

Definition at line 299 of file FN_multi_function_builder.hh.

Constructor & Destructor Documentation

◆ CustomMF_Convert()

template<typename From , typename To >
blender::fn::CustomMF_Convert< From, To >::CustomMF_Convert ( )
inline

Member Function Documentation

◆ call()

template<typename From , typename To >
void blender::fn::CustomMF_Convert< From, To >::call ( IndexMask  mask,
MFParams  params,
MFContext   UNUSEDcontext 
) const
inlineoverride

Definition at line 316 of file FN_multi_function_builder.hh.

References inputs, mask(), outputs, and params.

◆ create_signature()

template<typename From , typename To >
static MFSignature blender::fn::CustomMF_Convert< From, To >::create_signature ( )
inlinestatic

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