|
Blender V4.5
|
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 152 of file BKE_node.hh.
| const blender::CPPType* blender::bke::bNodeSocketType::base_cpp_type = nullptr |
Definition at line 199 of file BKE_node.hh.
Referenced by blender::nodes::build_implicit_conversion_lazy_function(), blender::nodes::get_geometry_nodes_input_base_values(), blender::nodes::implicitly_convert_socket_value(), blender::nodes::socket_usage_inference::infer_group_interface_inputs_usage(), 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_bundle(), make_socket_type_closure(), 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, StringRefNull text) = nullptr |
Definition at line 160 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) = nullptr |
Definition at line 165 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) = nullptr |
Definition at line 166 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 184 of file BKE_node.hh.
Referenced by make_standard_socket_type().
| ExtensionRNA blender::bke::bNodeSocketType::ext_socket = {} |
Definition at line 183 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) = nullptr |
Definition at line 196 of file BKE_node.hh.
Referenced by blender::bke::defer_free_socket_type(), make_socket_type_virtual(), and make_standard_socket_type().
| const blender::CPPType* blender::bke::bNodeSocketType::geometry_nodes_cpp_type = nullptr |
Definition at line 203 of file BKE_node.hh.
Referenced by blender::nodes::build_implicit_conversion_lazy_function(), blender::nodes::construct_socket_default_value(), blender::bke::bake::copy_bake_item_to_socket_value(), blender::bke::bake::default_initialize_socket_value(), blender::nodes::ensure_geometry_nodes_lazy_function_graph(), blender::nodes::evaluate_closure_eagerly(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::get_geometry_nodes_input_base_values(), 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::implicitly_convert_socket_value(), blender::nodes::LazyFunctionForEvaluateClosureNode::initialize_pass_through_graph(), blender::nodes::node_geo_menu_switch_cc::LazyFunctionForMenuSwitchNode::LazyFunctionForMenuSwitchNode(), blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::LazyFunctionForSwitchNode(), make_socket_type_bool(), make_socket_type_bundle(), make_socket_type_closure(), 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(), blender::nodes::node_geo_combine_bundle_cc::node_geo_exec(), blender::nodes::node_geo_separate_bundle_cc::node_geo_exec(), and blender::nodes::Bundle::remove().
| const void* blender::bke::bNodeSocketType::geometry_nodes_default_cpp_value = nullptr |
Definition at line 207 of file BKE_node.hh.
Referenced by blender::nodes::construct_socket_default_value(), blender::bke::bake::default_initialize_socket_value(), make_socket_type_bool(), make_socket_type_bundle(), make_socket_type_closure(), 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 = nullptr |
Definition at line 201 of file BKE_node.hh.
Referenced by blender::nodes::socket_usage_inference::infer_group_interface_inputs_usage(), make_socket_type_bool(), make_socket_type_bundle(), make_socket_type_closure(), 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 = nullptr |
Definition at line 205 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_bundle(), make_socket_type_closure(), 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().
| std::string blender::bke::bNodeSocketType::idname |
Identifier name.
Definition at line 154 of file BKE_node.hh.
Referenced by blender::bke::get_internal_link_type_priority(), blender::bke::forward_compat::make_socket(), make_socket_type_virtual(), make_standard_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 = 0 |
Definition at line 192 of file BKE_node.hh.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), and blender::bke::node_socket_link_limit().
| void(* blender::bke::bNodeSocketType::interface_draw) (ID *id, bNodeTreeInterfaceSocket *socket, bContext *C, uiLayout *layout) = nullptr |
Definition at line 168 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) = nullptr |
Definition at line 177 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, StringRefNull data_path) = nullptr |
Definition at line 172 of file BKE_node.hh.
Referenced by blender::nodes::get_init_socket_fn(), and make_standard_socket_type().
| std::string blender::bke::bNodeSocketType::label |
Type label.
Definition at line 156 of file BKE_node.hh.
Referenced by blender::ed::space_node::create_inspection_string_for_bundle(), blender::ed::space_node::create_inspection_string_for_closure(), make_standard_socket_type(), and blender::bke::node_socket_type_label().
| int blender::bke::bNodeSocketType::output_link_limit = 0 |
Definition at line 193 of file BKE_node.hh.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), and blender::bke::node_socket_link_limit().
| int blender::bke::bNodeSocketType::subtype = 0 |
Definition at line 188 of file BKE_node.hh.
Referenced by make_standard_socket_type(), blender::bke::node_modify_socket_type(), and version_node_add_socket().
| std::string blender::bke::bNodeSocketType::subtype_label |
Sub-type label.
Definition at line 158 of file BKE_node.hh.
Referenced by make_standard_socket_type().
| eNodeSocketDatatype blender::bke::bNodeSocketType::type = eNodeSocketDatatype(0) |
Definition at line 187 of file BKE_node.hh.
Referenced by blender::nodes::add_attribute_search_or_value_buttons(), blender::nodes::build_implicit_conversion_lazy_function(), blender::nodes::build_interface_socket_declaration(), blender::ed::object::check_geometry_node_group_sockets(), blender::check_property_socket_sync(), composite_node_tree_socket_type_valid(), blender::bke::bake::copy_bake_item_to_socket_value(), blender::bke::node_field_inferencing::determine_group_input_states(), do_version_vector_sockets_dimensions(), blender::nodes::draw_output_attributes_panel(), blender::nodes::draw_property_for_socket(), ED_init_standard_node_socket_type(), ED_node_type_draw_color(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::bke::node_tree_reference_lifetimes::find_reference_sets(), blender::ed::space_node::gather_socket_link_operations(), blender::nodes::LazyFunctionForEvaluateClosureNode::generate_closure_compatibility_warnings(), geometry_node_tree_socket_type_valid(), blender::nodes::get_geometry_nodes_input_base_values(), blender::bke::get_internal_link_type_priority(), blender::nodes::has_output_attribute(), blender::nodes::id_property_create_from_socket(), blender::nodes::implicitly_convert_socket_value(), 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::bake::move_common_socket_value_to_bake_item(), blender::bke::node_modify_socket_type(), blender::bke::node_socket_set_typeinfo(), blender::nodes::old_id_property_type_matches_socket_convert_to_new(), blender::ed::space_node::search_link_ops_for_asset_metadata(), shader_node_tree_socket_type_valid(), blender::nodes::socket_type_supports_default_input_type(), blender::ed::space_node::std_node_socket_color_simple_fn(), 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 = false |
Definition at line 191 of file BKE_node.hh.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), and blender::bke::node_socket_link_limit().