|
Blender V5.3
|
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 override |
| void | hash_unique (UniqueHashBytes &hash) const override |
| Public Member Functions inherited from blender::fn::multi_function::MultiFunction | |
| virtual | ~MultiFunction ()=default |
| void | call_auto (const IndexMask &mask, Params params, Context context) const |
| virtual void | call (const IndexMask &mask, Params params, Context context) const =0 |
| virtual bool | equals (const MultiFunction &other) 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 Signature & | signature () const |
| ExecutionHints | execution_hints () const |
| virtual void | prepare_for_execution () 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 |
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 175 of file node_geo_menu_switch.cc.
|
inline |
Definition at line 181 of file node_geo_menu_switch.cc.
|
inlineoverride |
Definition at line 193 of file node_geo_menu_switch.cc.
References blender::GMutableSpan::data(), blender::IndexMask::from_groups(), blender::VArrayCommon< T >::get_if_single(), blender::NodeEnumItem::identifier, blender::IndexRange::IndexRange(), blender::GMutableSpan::is_empty(), blender::index_mask::IndexMask::is_empty(), and blender::GVArrayCommon::materialize_to_uninitialized().
|
inlineoverridevirtual |
Reimplemented from blender::fn::multi_function::MultiFunction.
Definition at line 246 of file node_geo_menu_switch.cc.
References hash.