|
Blender V5.3
|
Inherits LazyFunction.
Public Member Functions | |
| LazyFunctionForMenuSwitchNode (const bNode &node, GeometryNodesLazyFunctionGraphInfo &lf_graph_info) | |
| void | execute_impl (lf::Params ¶ms, const lf::Context &) const override |
| void | execute_single (const MenuValue condition, lf::Params ¶ms) const |
| void | execute_field (Field< MenuValue > condition, lf::Params ¶ms) const |
Definition at line 312 of file node_geo_menu_switch.cc.
|
inline |
Definition at line 320 of file node_geo_menu_switch.cc.
References blender::bke::bNodeSocketType::base_cpp_type, blender::BLI_assert(), blender::CPPType::get(), blender::nodes::GeometryNodeLazyFunctionGraphMapping::lf_index_by_bsocket, blender::nodes::GeometryNodesLazyFunctionGraphInfo::mapping, blender::NodeEnumItem::name, node, blender::bke::node_socket_type_find_static(), blender::nodes::socket_type_supports_fields(), and storage.
|
inline |
Definition at line 385 of file node_geo_menu_switch.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), condition, extract(), blender::nodes::FieldOperation::from(), blender::nodes::SocketValueVariant::from(), blender::nodes::GField::GField(), blender::IndexRange::IndexRange(), blender::NodeEnumDefinition::items_num, and lexit::Vector< T >::reserve().
Referenced by execute_impl().
|
inlineoverride |
Definition at line 345 of file node_geo_menu_switch.cc.
References blender::bke::SocketValueVariant::ensure_type(), execute_field(), execute_single(), and blender::bke::SocketValueVariant::is_context_dependent_field().
|
inline |
Definition at line 356 of file node_geo_menu_switch.cc.
References condition, blender::NodeEnumItem::identifier, blender::IndexRange::IndexRange(), and blender::nodes::set_default_value_for_output_socket().
Referenced by execute_impl().