28 return {&storage.
items, &storage.items_num,
nullptr};
49 return "Item_" + std::to_string(item.
identifier);
struct IndexSwitchItem IndexSwitchItem
static constexpr bool has_name
static void init(bNode &node, IndexSwitchItem &item)
static StructRNA * item_srna
static std::string socket_identifier_for_item(const IndexSwitchItem &item)
static void destruct_item(IndexSwitchItem *)
static void blend_read_data_item(BlendDataReader *reader, ItemT &item)
static socket_items::SocketItemsRef< IndexSwitchItem > get_items_from_node(bNode &node)
static void copy_item(const IndexSwitchItem &src, IndexSwitchItem &dst)
static constexpr bool has_type
static void blend_write_item(BlendWriter *writer, const ItemT &item)
static constexpr StringRefNull node_idname