|
Blender V4.3
|
Defines a socket type. More...
#include <BKE_node.hh>
Defines a socket type.
Defines the appearance and behavior of a socket in the UI.
Definition at line 151 of file BKE_node.hh.
| const blender::CPPType* blender::bke::bNodeSocketType::base_cpp_type |
Definition at line 191 of file BKE_node.hh.
Referenced by blender::nodes::initialize_group_input(), blender::nodes::node_geo_menu_switch_cc::LazyFunctionForMenuSwitchNode::LazyFunctionForMenuSwitchNode(), blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::LazyFunctionForSwitchNode(), make_socket_type_bool(), make_socket_type_collection(), make_socket_type_float(), make_socket_type_geometry(), make_socket_type_image(), make_socket_type_int(), make_socket_type_material(), make_socket_type_matrix(), make_socket_type_menu(), make_socket_type_object(), make_socket_type_rgba(), make_socket_type_rotation(), make_socket_type_string(), make_socket_type_texture(), make_socket_type_vector(), and blender::bke::slow_socket_type_to_geo_nodes_base_cpp_type().
| void(* blender::bke::bNodeSocketType::draw) (bContext *C, uiLayout *layout, PointerRNA *ptr, PointerRNA *node_ptr, const char *text) |
Definition at line 159 of file BKE_node.hh.
Referenced by ED_init_custom_node_socket_type(), ED_init_node_socket_type_virtual(), ED_init_standard_node_socket_type(), and ED_node_init_butfuncs().
| void(* blender::bke::bNodeSocketType::draw_color) (bContext *C, PointerRNA *ptr, PointerRNA *node_ptr, float *r_color) |
Definition at line 161 of file BKE_node.hh.
Referenced by ED_init_node_socket_type_virtual(), ED_init_standard_node_socket_type(), and ED_node_init_butfuncs().
| void(* blender::bke::bNodeSocketType::draw_color_simple) (const bNodeSocketType *socket_type, float *r_color) |
Definition at line 162 of file BKE_node.hh.
Referenced by ED_init_node_socket_type_virtual(), ED_init_standard_node_socket_type(), and ED_node_init_butfuncs().
| ExtensionRNA blender::bke::bNodeSocketType::ext_interface |
Definition at line 177 of file BKE_node.hh.
Referenced by make_standard_socket_type().
| ExtensionRNA blender::bke::bNodeSocketType::ext_socket |
Definition at line 176 of file BKE_node.hh.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), blender::bke::node_is_static_socket_type(), and blender::bke::node_socket_type_label().
| void(* blender::bke::bNodeSocketType::free_self) (bNodeSocketType *stype) |
Definition at line 188 of file BKE_node.hh.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), and blender::bke::node_free_socket_type().
| const blender::CPPType* blender::bke::bNodeSocketType::geometry_nodes_cpp_type |
Definition at line 195 of file BKE_node.hh.
Referenced by blender::bke::bake::default_initialize_socket_value(), blender::nodes::ensure_geometry_nodes_lazy_function_graph(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::node_geo_bake_cc::get_item_cpp_type(), blender::nodes::node_geo_simulation_cc::get_simulation_item_cpp_type(), blender::nodes::get_socket_cpp_type(), blender::nodes::node_geo_menu_switch_cc::LazyFunctionForMenuSwitchNode::LazyFunctionForMenuSwitchNode(), blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::LazyFunctionForSwitchNode(), make_socket_type_bool(), make_socket_type_collection(), make_socket_type_float(), make_socket_type_geometry(), make_socket_type_image(), make_socket_type_int(), make_socket_type_material(), make_socket_type_matrix(), make_socket_type_menu(), make_socket_type_object(), make_socket_type_rgba(), make_socket_type_rotation(), make_socket_type_string(), make_socket_type_texture(), and make_socket_type_vector().
| const void* blender::bke::bNodeSocketType::geometry_nodes_default_cpp_value |
Definition at line 199 of file BKE_node.hh.
Referenced by blender::bke::bake::default_initialize_socket_value(), make_socket_type_bool(), make_socket_type_float(), make_socket_type_int(), make_socket_type_matrix(), make_socket_type_menu(), make_socket_type_rgba(), make_socket_type_rotation(), make_socket_type_string(), and make_socket_type_vector().
| SocketGetCPPValueFunction blender::bke::bNodeSocketType::get_base_cpp_value |
Definition at line 193 of file BKE_node.hh.
Referenced by make_socket_type_bool(), make_socket_type_collection(), make_socket_type_float(), make_socket_type_geometry(), make_socket_type_image(), make_socket_type_int(), make_socket_type_material(), make_socket_type_matrix(), make_socket_type_menu(), make_socket_type_object(), make_socket_type_rgba(), make_socket_type_rotation(), make_socket_type_string(), make_socket_type_texture(), and make_socket_type_vector().
| SocketGetGeometryNodesCPPValueFunction blender::bke::bNodeSocketType::get_geometry_nodes_cpp_value |
Definition at line 197 of file BKE_node.hh.
Referenced by blender::nodes::get_socket_default_value(), blender::nodes::initialize_group_input(), make_socket_type_bool(), make_socket_type_collection(), make_socket_type_float(), make_socket_type_geometry(), make_socket_type_image(), make_socket_type_int(), make_socket_type_material(), make_socket_type_matrix(), make_socket_type_menu(), make_socket_type_object(), make_socket_type_rgba(), make_socket_type_rotation(), make_socket_type_string(), make_socket_type_texture(), and make_socket_type_vector().
| char blender::bke::bNodeSocketType::idname[64] |
Identifier name.
Definition at line 153 of file BKE_node.hh.
Referenced by blender::bke::forward_compat::make_socket(), make_socket_type_virtual(), make_standard_socket_type(), blender::bke::node_register_socket_type(), blender::bke::node_unregister_socket_type(), ntree_update_reroute_nodes(), blender::bke::node_interface::socket_types::try_get_supported_socket_type(), and blender::bke::update_typeinfo().
| int blender::bke::bNodeSocketType::input_link_limit |
Definition at line 184 of file BKE_node.hh.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), blender::bke::node_socket_link_limit(), and register_undefined_types().
| void(* blender::bke::bNodeSocketType::interface_draw) (ID *id, bNodeTreeInterfaceSocket *socket, bContext *C, uiLayout *layout) |
Definition at line 164 of file BKE_node.hh.
Referenced by ED_init_standard_node_socket_type(), and ED_node_init_butfuncs().
| void(* blender::bke::bNodeSocketType::interface_from_socket) (ID *id, bNodeTreeInterfaceSocket *interface_socket, const bNode *node, const bNodeSocket *socket) |
Definition at line 170 of file BKE_node.hh.
Referenced by blender::bke::node_interface::add_interface_socket_from_node(), and make_standard_socket_type().
| void(* blender::bke::bNodeSocketType::interface_init_socket) (ID *id, const bNodeTreeInterfaceSocket *interface_socket, bNode *node, bNodeSocket *socket, const char *data_path) |
Definition at line 165 of file BKE_node.hh.
Referenced by blender::nodes::get_init_socket_fn(), and make_standard_socket_type().
| char blender::bke::bNodeSocketType::label[64] |
Type label.
Definition at line 155 of file BKE_node.hh.
Referenced by make_standard_socket_type(), and blender::bke::node_socket_type_label().
| int blender::bke::bNodeSocketType::output_link_limit |
Definition at line 185 of file BKE_node.hh.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), blender::bke::node_socket_link_limit(), and register_undefined_types().
| int blender::bke::bNodeSocketType::subtype |
Definition at line 180 of file BKE_node.hh.
Referenced by make_standard_socket_type(), blender::bke::node_modify_socket_type(), register_undefined_types(), and version_node_add_socket().
| char blender::bke::bNodeSocketType::subtype_label[64] |
Sub-type label.
Definition at line 157 of file BKE_node.hh.
Referenced by make_standard_socket_type().
| int blender::bke::bNodeSocketType::type |
Definition at line 180 of file BKE_node.hh.
Referenced by blender::add_attribute_search_or_value_buttons(), blender::ed::geometry::add_attribute_search_or_value_buttons(), blender::bke::anonymous_attribute_inferencing::analyze_anonymous_attribute_usages(), blender::ed::object::check_geometry_node_group_sockets(), blender::check_property_socket_sync(), composite_node_tree_socket_type_valid(), blender::nodes::declaration_for_interface_socket(), blender::bke::node_field_inferencing::determine_group_input_states(), blender::draw_output_attributes_panel(), blender::draw_property_for_socket(), blender::ed::geometry::draw_property_for_socket(), ED_init_standard_node_socket_type(), ED_node_type_draw_color(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::ed::space_node::gather_socket_link_operations(), geometry_node_tree_socket_type_valid(), blender::has_output_attribute(), blender::nodes::id_property_create_from_socket(), blender::nodes::initialize_group_input(), blender::nodes::input_has_attribute_toggle(), is_layer_selection_field(), make_socket_type_virtual(), make_standard_socket_type(), blender::bke::node_modify_socket_type(), blender::bke::node_socket_set_typeinfo(), blender::nodes::old_id_property_type_matches_socket_convert_to_new(), register_undefined_types(), blender::ed::space_node::search_link_ops_for_asset_metadata(), shader_node_tree_socket_type_valid(), blender::ed::space_node::std_node_socket_interface_draw(), texture_node_tree_socket_type_valid(), blender::bke::node_interface::socket_types::try_get_supported_socket_type(), blender::ed::space_node::ui_node_link_items(), blender::nodes::update_input_properties_from_node_tree(), blender::nodes::update_output_properties_from_node_tree(), and version_node_add_socket().
| bool blender::bke::bNodeSocketType::use_link_limits_of_type |
Definition at line 183 of file BKE_node.hh.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), blender::bke::node_socket_link_limit(), and register_undefined_types().