Blender V5.0
blender::nodes::node_geo_index_switch_cc Namespace Reference

Classes

class  IndexSwitchFunction
class  LazyFunctionForIndexSwitchNode

Functions

static void draw_item_socket (CustomSocketDrawParams &params, const int index)
static void node_declare (NodeDeclarationBuilder &b)
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
static void node_layout_ex (uiLayout *layout, bContext *C, PointerRNA *ptr)
static void NODE_OT_index_switch_item_add (wmOperatorType *ot)
static void NODE_OT_index_switch_item_remove (wmOperatorType *ot)
static void node_operators ()
static void node_init (bNodeTree *, bNode *node)
static void node_gather_link_searches (GatherLinkSearchOpParams &params)
static void node_rna (StructRNA *srna)
static void node_free_storage (bNode *node)
static void node_copy_storage (bNodeTree *, bNode *dst_node, const bNode *src_node)
static bool node_insert_link (bke::NodeInsertLinkParams &params)
static void node_blend_write (const bNodeTree &, const bNode &node, BlendWriter &writer)
static void node_blend_read (bNodeTree &, bNode &node, BlendDataReader &reader)
static const bNodeSocketnode_internally_linked_input (const bNodeTree &, const bNode &node, const bNodeSocket &)
static void register_node ()

Variables

constexpr int value_inputs_start = 1

Function Documentation

◆ draw_item_socket()

void blender::nodes::node_geo_index_switch_cc::draw_item_socket ( CustomSocketDrawParams & params,
const int index )
static

◆ node_blend_read()

void blender::nodes::node_geo_index_switch_cc::node_blend_read ( bNodeTree & ,
bNode & node,
BlendDataReader & reader )
static

Definition at line 441 of file node_geo_index_switch.cc.

References blender::nodes::socket_items::blend_read_data().

Referenced by register_node().

◆ node_blend_write()

void blender::nodes::node_geo_index_switch_cc::node_blend_write ( const bNodeTree & ,
const bNode & node,
BlendWriter & writer )
static

Definition at line 436 of file node_geo_index_switch.cc.

References blender::nodes::socket_items::blend_write().

Referenced by register_node().

◆ node_copy_storage()

void blender::nodes::node_geo_index_switch_cc::node_copy_storage ( bNodeTree * ,
bNode * dst_node,
const bNode * src_node )
static

◆ node_declare()

◆ node_free_storage()

void blender::nodes::node_geo_index_switch_cc::node_free_storage ( bNode * node)
static

◆ node_gather_link_searches()

void blender::nodes::node_geo_index_switch_cc::node_gather_link_searches ( GatherLinkSearchOpParams & params)
static

Definition at line 183 of file node_geo_index_switch.cc.

References IFACE_, params, SOCK_INT, and SOCK_OUT.

Referenced by register_node().

◆ node_init()

void blender::nodes::node_geo_index_switch_cc::node_init ( bNodeTree * ,
bNode * node )
static

◆ node_insert_link()

bool blender::nodes::node_geo_index_switch_cc::node_insert_link ( bke::NodeInsertLinkParams & params)
static

◆ node_internally_linked_input()

const bNodeSocket * blender::nodes::node_geo_index_switch_cc::node_internally_linked_input ( const bNodeTree & ,
const bNode & node,
const bNodeSocket &  )
static

Definition at line 446 of file node_geo_index_switch.cc.

References NodeIndexSwitch::items_num.

Referenced by register_node().

◆ node_layout()

void blender::nodes::node_geo_index_switch_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 127 of file node_geo_index_switch.cc.

References uiLayout::prop(), ptr, and UI_ITEM_NONE.

Referenced by register_node().

◆ node_layout_ex()

void blender::nodes::node_geo_index_switch_cc::node_layout_ex ( uiLayout * layout,
bContext * C,
PointerRNA * ptr )
static

◆ node_operators()

void blender::nodes::node_geo_index_switch_cc::node_operators ( )
static

◆ NODE_OT_index_switch_item_add()

void blender::nodes::node_geo_index_switch_cc::NODE_OT_index_switch_item_add ( wmOperatorType * ot)
static

Definition at line 148 of file node_geo_index_switch.cc.

References blender::nodes::socket_items::ops::add_item(), and ot.

Referenced by node_operators().

◆ NODE_OT_index_switch_item_remove()

void blender::nodes::node_geo_index_switch_cc::NODE_OT_index_switch_item_remove ( wmOperatorType * ot)
static

◆ node_rna()

◆ register_node()

Variable Documentation

◆ value_inputs_start