|
Blender V5.0
|
#include <NOD_geo_menu_switch.hh>
Inherits blender::nodes::socket_items::SocketItemsAccessorDefaults.
Classes | |
| struct | operator_idnames |
| struct | ui_idnames |
| struct | rna_names |
Public Types | |
| using | ItemT = NodeEnumItem |
Static Public Member Functions | |
| static socket_items::SocketItemsRef< NodeEnumItem > | get_items_from_node (bNode &node) |
| static void | copy_item (const NodeEnumItem &src, NodeEnumItem &dst) |
| static void | destruct_item (NodeEnumItem *item) |
| static void | blend_write_item (BlendWriter *writer, const ItemT &item) |
| static void | blend_read_data_item (BlendDataReader *reader, ItemT &item) |
| static char ** | get_name (NodeEnumItem &item) |
| static void | init_with_name (bNode &node, NodeEnumItem &item, const char *name) |
| static std::string | socket_identifier_for_item (const NodeEnumItem &item) |
Static Public Attributes | |
| static StructRNA * | item_srna = &RNA_NodeEnumItem |
| static int | node_type |
| static constexpr StringRefNull | node_idname = "GeometryNodeMenuSwitch" |
| static constexpr bool | has_type = false |
| static constexpr bool | has_name = true |
| Static Public Attributes inherited from blender::nodes::socket_items::SocketItemsAccessorDefaults | |
| static constexpr bool | has_single_identifier_str = true |
| static constexpr bool | has_name_validation = false |
| static constexpr bool | has_custom_initial_name = false |
| static constexpr bool | has_vector_dimensions = false |
| static constexpr bool | can_have_empty_name = false |
| static constexpr char | unique_name_separator = '.' |
Makes it possible to use various functions (e.g. the ones in NOD_socket_items.hh) for menu switch node items.
Definition at line 18 of file NOD_geo_menu_switch.hh.
Definition at line 19 of file NOD_geo_menu_switch.hh.
|
static |
Definition at line 613 of file node_geo_menu_switch.cc.
References BLO_read_string(), NodeEnumItem::description, and NodeEnumItem::name.
|
static |
Definition at line 607 of file node_geo_menu_switch.cc.
References BLO_write_string(), NodeEnumItem::description, and NodeEnumItem::name.
|
inlinestatic |
Definition at line 46 of file NOD_geo_menu_switch.hh.
References BLI_strdup_null(), NodeEnumItem::description, and NodeEnumItem::name.
|
inlinestatic |
Definition at line 53 of file NOD_geo_menu_switch.hh.
References NodeEnumItem::description, MEM_SAFE_FREE, and NodeEnumItem::name.
|
inlinestatic |
Definition at line 38 of file NOD_geo_menu_switch.hh.
References bNode::storage.
|
inlinestatic |
Definition at line 62 of file NOD_geo_menu_switch.hh.
References NodeEnumItem::name.
|
inlinestatic |
Definition at line 67 of file NOD_geo_menu_switch.hh.
References NodeEnumItem::identifier, name, blender::nodes::socket_items::set_item_name_and_make_unique(), and bNode::storage.
|
inlinestatic |
Definition at line 74 of file NOD_geo_menu_switch.hh.
References NodeEnumItem::identifier.
Referenced by blender::nodes::node_geo_menu_switch_cc::MenuSwitchOperation::execute(), and blender::nodes::node_geo_menu_switch_cc::node_declare().
|
staticconstexpr |
Definition at line 24 of file NOD_geo_menu_switch.hh.
|
staticconstexpr |
Definition at line 23 of file NOD_geo_menu_switch.hh.
|
static |
Definition at line 20 of file NOD_geo_menu_switch.hh.
Referenced by blender::nodes::node_geo_menu_switch_cc::node_declare().
|
staticconstexpr |
Definition at line 22 of file NOD_geo_menu_switch.hh.
|
static |
Definition at line 21 of file NOD_geo_menu_switch.hh.