Blender V4.3
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 register_node ()
 

Variables

constexpr int value_inputs_start = 1
 

Function Documentation

◆ 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 354 of file node_geo_index_switch.cc.

References blender::nodes::socket_items::copy_array(), and bNode::storage.

Referenced by 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 348 of file node_geo_index_switch.cc.

References blender::nodes::socket_items::destruct_array(), and MEM_freeN().

Referenced by 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 118 of file node_geo_index_switch.cc.

References IFACE_, 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 101 of file node_geo_index_switch.cc.

References BLI_assert, data, 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

◆ node_layout()

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

Definition at line 64 of file node_geo_index_switch.cc.

References ptr, UI_ITEM_NONE, and uiItemR().

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 84 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