22 static constexpr const char *
node_idname =
"GeometryNodeRepeatOutput";
30 return {&storage->
items, &storage->items_num, &storage->active_index};
53 return ELEM(socket_type,
80 return "Item_" + std::to_string(item.
identifier);
char * BLI_strdup_null(const char *str) ATTR_WARN_UNUSED_RESULT ATTR_MALLOC
struct NodeRepeatItem NodeRepeatItem
void set_item_name_and_make_unique(bNode &node, typename Accessor::ItemT &item, const char *value)
static void init_with_socket_type_and_name(bNode &node, NodeRepeatItem &item, const eNodeSocketDatatype socket_type, const char *name)
static socket_items::SocketItemsRef< NodeRepeatItem > get_items_from_node(bNode &node)
static char ** get_name(NodeRepeatItem &item)
static StructRNA * item_srna
static constexpr bool has_type
static constexpr const char * node_idname
static constexpr bool has_name
static void copy_item(const NodeRepeatItem &src, NodeRepeatItem &dst)
static constexpr bool has_single_identifier_str
static eNodeSocketDatatype get_socket_type(const NodeRepeatItem &item)
static bool supports_socket_type(const eNodeSocketDatatype socket_type)
static void blend_write(BlendWriter *writer, const bNode &node)
static void blend_read_data(BlendDataReader *reader, bNode &node)
static void destruct_item(NodeRepeatItem *item)
static std::string socket_identifier_for_item(const NodeRepeatItem &item)