Blender V5.3
blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode Class Reference

Inherits LazyFunction.

Public Member Functions

 LazyFunctionForSwitchNode (const bNode &node)
void execute_impl (lf::Params &params, const lf::Context &context) const override
void execute_single (const bool condition, lf::Params &params) const
void execute_field (Field< bool > condition, lf::Params &params) 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

Detailed Description

Definition at line 125 of file node_geo_switch.cc.

Constructor & Destructor Documentation

◆ LazyFunctionForSwitchNode()

blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::LazyFunctionForSwitchNode ( const bNode & node)
inline

Member Function Documentation

◆ execute_field()

void blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::execute_field ( Field< bool > condition,
lf::Params & params ) const
inline

◆ execute_impl()

void blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::execute_impl ( lf::Params & params,
const lf::Context & context ) const
inlineoverride

◆ execute_single()

void blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::execute_single ( const bool condition,
lf::Params & params ) const
inline

◆ get_switch_multi_function()

const MultiFunction & blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::get_switch_multi_function ( ) const
inline

Member Data Documentation

◆ false_input_index

int blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::false_input_index = 1
staticconstexpr

Definition at line 180 of file node_geo_switch.cc.

Referenced by execute_field(), and execute_single().

◆ true_input_index

int blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::true_input_index = 2
staticconstexpr

Definition at line 181 of file node_geo_switch.cc.

Referenced by execute_field(), and execute_single().


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