|
Blender V5.3
|
Inherits LazyFunction.
Public Member Functions | |
| LazyFunctionForSwitchNode (const bNode &node) | |
| void | execute_impl (lf::Params ¶ms, const lf::Context &context) const override |
| void | execute_single (const bool condition, lf::Params ¶ms) const |
| void | execute_field (Field< bool > condition, lf::Params ¶ms) const |
| const MultiFunction & | get_switch_multi_function () const |
Static Public Attributes | |
| static constexpr int | false_input_index = 1 |
| static constexpr int | true_input_index = 2 |
Definition at line 125 of file node_geo_switch.cc.
|
inline |
Definition at line 132 of file node_geo_switch.cc.
References blender::bke::bNodeSocketType::base_cpp_type, blender::BLI_assert(), blender::CPPType::get(), node, blender::nodes::socket_type_supports_fields(), and storage.
|
inline |
Definition at line 201 of file node_geo_switch.cc.
References condition, ELEM, blender::bke::SocketValueVariant::ensure_type(), false_input_index, blender::nodes::FieldOperation::from(), blender::nodes::SocketValueVariant::from(), get_switch_multi_function(), blender::nodes::SocketValueVariant::SocketValueVariant(), and true_input_index.
Referenced by execute_impl().
|
inlineoverride |
Definition at line 156 of file node_geo_switch.cc.
References blender::bke::SocketValueVariant::ensure_type(), execute_field(), execute_single(), and blender::bke::SocketValueVariant::is_context_dependent_field().
|
inline |
Definition at line 183 of file node_geo_switch.cc.
References condition, false_input_index, blender::CPPType::move_construct(), and true_input_index.
Referenced by execute_impl().
|
inline |
Definition at line 227 of file node_geo_switch.cc.
References blender::BLI_assert(), condition, float, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4x4, and T.
Referenced by execute_field().
|
staticconstexpr |
Definition at line 180 of file node_geo_switch.cc.
Referenced by execute_field(), and execute_single().
|
staticconstexpr |
Definition at line 181 of file node_geo_switch.cc.
Referenced by execute_field(), and execute_single().