Blender V4.5
blender::nodes::node_geo_index_switch_cc Namespace Reference

Classes

class  IndexSwitchFunction
 
class  LazyFunctionForIndexSwitchNode
 

Functions

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 (bNodeTree *ntree, bNode *node, bNodeLink *link)
 
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

◆ node_blend_read()

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

Definition at line 383 of file node_geo_index_switch.cc.

References node, and node_blend_read().

Referenced by node_blend_read(), and register_node().

◆ node_blend_write()

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

Definition at line 378 of file node_geo_index_switch.cc.

References node, and node_blend_write().

Referenced by node_blend_write(), and register_node().

◆ node_copy_storage()

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

Definition at line 363 of file node_geo_index_switch.cc.

References MEM_dupallocN(), node_copy_storage(), and bNode::storage.

Referenced by node_copy_storage(), and register_node().

◆ node_declare()

◆ node_free_storage()

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

Definition at line 357 of file node_geo_index_switch.cc.

References MEM_freeN(), node, and node_free_storage().

Referenced by node_free_storage(), and register_node().

◆ node_gather_link_searches()

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

Definition at line 120 of file node_geo_index_switch.cc.

References IFACE_, node, params, SOCK_INT, and SOCK_OUT.

Referenced by register_node().

◆ node_init()

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

Definition at line 103 of file node_geo_index_switch.cc.

References BLI_assert, data, MEM_calloc_arrayN(), MEM_callocN(), node, and SOCK_GEOMETRY.

Referenced by register_node().

◆ node_insert_link()

static bool blender::nodes::node_geo_index_switch_cc::node_insert_link ( bNodeTree * ntree,
bNode * node,
bNodeLink * link )
static

Definition at line 372 of file node_geo_index_switch.cc.

References node, and node_insert_link().

Referenced by node_insert_link(), and register_node().

◆ node_internally_linked_input()

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

◆ node_layout()

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

Definition at line 65 of file node_geo_index_switch.cc.

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

Referenced by register_node().

◆ node_layout_ex()

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

◆ node_operators()

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

◆ NODE_OT_index_switch_item_add()

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

Definition at line 86 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()

static 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