Blender V4.3
blender::nodes::node_geo_menu_switch_cc::MenuSwitchFn Class Reference

Inherits blender::fn::multi_function::MultiFunction.

Public Member Functions

 MenuSwitchFn (const NodeEnumDefinition &enum_def, const CPPType &type)
 
void call (const IndexMask &mask, mf::Params params, mf::Context) const
 
- Public Member Functions inherited from blender::fn::multi_function::MultiFunction
virtual ~MultiFunction ()
 
void call_auto (const IndexMask &mask, Params params, Context context) const
 
virtual uint64_t hash () const
 
virtual bool equals (const MultiFunction &) const
 
int param_amount () const
 
IndexRange param_indices () const
 
ParamType param_type (int param_index) const
 
StringRefNull param_name (int param_index) const
 
StringRefNull name () const
 
virtual std::string debug_name () const
 
const Signaturesignature () const
 
ExecutionHints execution_hints () const
 

Additional Inherited Members

- Protected Member Functions inherited from blender::fn::multi_function::MultiFunction
void set_signature (const Signature *signature)
 
virtual ExecutionHints get_execution_hints () const
 

Detailed Description

Multi-function which evaluates the switch input for each enum item and partially fills the output array with values from the input array where the identifier matches.

Definition at line 154 of file node_geo_menu_switch.cc.

Constructor & Destructor Documentation

◆ MenuSwitchFn()

blender::nodes::node_geo_menu_switch_cc::MenuSwitchFn::MenuSwitchFn ( const NodeEnumDefinition & enum_def,
const CPPType & type )
inline

Member Function Documentation

◆ call()


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