|
Blender V5.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 163 of file BKE_node.hh.
Definition at line 210 of file BKE_node.hh.
Referenced by blender::nodes::BundleItemValue::as_socket_value(), blender::nodes::build_implicit_conversion_lazy_function(), blender::nodes::inverse_eval::convert_single_socket_value(), blender::nodes::node_geo_viewer_cc::draw_generic_value_log(), blender::nodes::get_geometry_nodes_input_inference_values(), blender::nodes::implicitly_convert_socket_value(), blender::nodes::socket_usage_inference::infer_group_interface_inputs_usage(), blender::nodes::node_geo_index_switch_cc::LazyFunctionForIndexSwitchNode::LazyFunctionForIndexSwitchNode(), blender::nodes::node_geo_menu_switch_cc::LazyFunctionForMenuSwitchNode::LazyFunctionForMenuSwitchNode(), blender::nodes::node_geo_switch_cc::LazyFunctionForSwitchNode::LazyFunctionForSwitchNode(), blender::make_socket_type_bool(), blender::make_socket_type_bundle(), blender::make_socket_type_closure(), blender::make_socket_type_collection(), blender::make_socket_type_float(), blender::make_socket_type_font(), blender::make_socket_type_geometry(), blender::make_socket_type_image(), blender::make_socket_type_int(), blender::make_socket_type_int_vector(), blender::make_socket_type_mask(), blender::make_socket_type_material(), blender::make_socket_type_matrix(), blender::make_socket_type_menu(), blender::make_socket_type_object(), blender::make_socket_type_rgba(), blender::make_socket_type_rotation(), blender::make_socket_type_scene(), blender::make_socket_type_sound(), blender::make_socket_type_string(), blender::make_socket_type_text(), blender::make_socket_type_texture(), blender::make_socket_type_vector(), blender::bke::node_socket_move_default_value(), blender::nodes::LazyFunctionForGeometryNode::output_anonymous_attribute_field(), blender::bke::slow_socket_type_to_geo_nodes_base_cpp_type(), and blender::bke::bake::BakeValues::to_runtime_values().
| void(*) blender::bke::bNodeSocketType::draw(bContext *C, ui::Layout *layout, PointerRNA *ptr, PointerRNA *node_ptr, StringRef text) = nullptr |
Definition at line 171 of file BKE_node.hh.
Referenced by blender::ui::nodes::draw_node_input(), blender::nodes::CustomSocketDrawParams::draw_standard(), blender::ED_init_custom_node_socket_type(), blender::ED_init_node_socket_type_virtual(), blender::ED_init_standard_node_socket_type(), blender::ED_node_init_butfuncs(), and blender::ed::space_node::ui_node_draw_input().
| void(*) blender::bke::bNodeSocketType::draw_color(bContext *C, PointerRNA *ptr, PointerRNA *node_ptr, float *r_color) = nullptr |
Definition at line 176 of file BKE_node.hh.
Referenced by blender::ED_init_node_socket_type_virtual(), blender::ED_init_standard_node_socket_type(), blender::ED_node_init_butfuncs(), and blender::ed::space_node::node_socket_color_get().
| void(*) blender::bke::bNodeSocketType::draw_color_simple(const bNodeSocketType *socket_type, float *r_color) = nullptr |
Definition at line 177 of file BKE_node.hh.
Referenced by blender::ED_init_node_socket_type_virtual(), blender::ED_init_standard_node_socket_type(), blender::ED_node_init_butfuncs(), and blender::ed::space_node::node_socket_color_get().
| ExtensionRNA blender::bke::bNodeSocketType::ext_interface = {} |
Definition at line 195 of file BKE_node.hh.
Referenced by blender::make_standard_socket_type().
| ExtensionRNA blender::bke::bNodeSocketType::ext_socket = {} |
Definition at line 194 of file BKE_node.hh.
Referenced by blender::make_socket_type_virtual(), blender::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 207 of file BKE_node.hh.
Referenced by blender::bke::defer_free_socket_type(), blender::make_socket_type_virtual(), and blender::make_standard_socket_type().
| const SocketValueVariant* blender::bke::bNodeSocketType::geometry_nodes_default_value = nullptr |
Definition at line 216 of file BKE_node.hh.
Referenced by blender::nodes::build_implicit_conversion_lazy_function(), blender::nodes::construct_socket_default_value(), blender::nodes::ensure_geometry_nodes_lazy_function_graph_impl(), blender::nodes::LazyFunctionForClosureZone::execute_impl(), blender::nodes::get_geometry_nodes_input_inference_values(), blender::nodes::ignore_zone_bsocket(), blender::nodes::init_socket_cpp_value(), blender::nodes::LazyFunctionForEvaluateClosureNode::initialize_execution_graph(), blender::nodes::LazyFunctionForEvaluateClosureNode::initialize_pass_through_graph(), blender::make_socket_type_bool(), blender::make_socket_type_bundle(), blender::make_socket_type_closure(), blender::make_socket_type_collection(), blender::make_socket_type_float(), blender::make_socket_type_font(), blender::make_socket_type_geometry(), blender::make_socket_type_image(), blender::make_socket_type_int(), blender::make_socket_type_mask(), blender::make_socket_type_material(), blender::make_socket_type_matrix(), blender::make_socket_type_menu(), blender::make_socket_type_object(), blender::make_socket_type_rgba(), blender::make_socket_type_rotation(), blender::make_socket_type_scene(), blender::make_socket_type_sound(), blender::make_socket_type_string(), blender::make_socket_type_text(), blender::make_socket_type_texture(), blender::make_socket_type_vector(), blender::nodes::node_geo_combine_bundle_cc::node_geo_exec(), blender::nodes::node_geo_separate_bundle_cc::node_geo_exec(), blender::nodes::node_geo_store_bundle_item_cc::node_geo_exec(), and blender::bke::bake::BakeValues::to_runtime_values().
| SocketGetCPPValueFunction blender::bke::bNodeSocketType::get_base_cpp_value = nullptr |
Definition at line 212 of file BKE_node.hh.
Referenced by blender::bke::get_socket_value(), blender::nodes::socket_usage_inference::infer_group_interface_inputs_usage(), blender::make_socket_type_bool(), blender::make_socket_type_bundle(), blender::make_socket_type_closure(), blender::make_socket_type_collection(), blender::make_socket_type_float(), blender::make_socket_type_font(), blender::make_socket_type_geometry(), blender::make_socket_type_image(), blender::make_socket_type_int(), blender::make_socket_type_int_vector(), blender::make_socket_type_mask(), blender::make_socket_type_material(), blender::make_socket_type_matrix(), blender::make_socket_type_menu(), blender::make_socket_type_object(), blender::make_socket_type_rgba(), blender::make_socket_type_rotation(), blender::make_socket_type_scene(), blender::make_socket_type_sound(), blender::make_socket_type_string(), blender::make_socket_type_text(), blender::make_socket_type_texture(), and blender::make_socket_type_vector().
| SocketGetGeometryNodesCPPValueFunction blender::bke::bNodeSocketType::get_geometry_nodes_cpp_value = nullptr |
Definition at line 214 of file BKE_node.hh.
Referenced by blender::make_socket_type_bool(), blender::make_socket_type_bundle(), blender::make_socket_type_closure(), blender::make_socket_type_collection(), blender::make_socket_type_float(), blender::make_socket_type_font(), blender::make_socket_type_geometry(), blender::make_socket_type_image(), blender::make_socket_type_int(), blender::make_socket_type_mask(), blender::make_socket_type_material(), blender::make_socket_type_matrix(), blender::make_socket_type_menu(), blender::make_socket_type_object(), blender::make_socket_type_rgba(), blender::make_socket_type_rotation(), blender::make_socket_type_scene(), blender::make_socket_type_sound(), blender::make_socket_type_string(), blender::make_socket_type_text(), blender::make_socket_type_texture(), and blender::make_socket_type_vector().
| UString blender::bke::bNodeSocketType::idname |
Identifier name.
Definition at line 165 of file BKE_node.hh.
Referenced by blender::bke::node_interface::add_interface_socket_from_node(), blender::bke::node_interface::create_proxy_converter_node(), blender::bke::get_internal_link_type_priority(), blender::make_socket_type_virtual(), blender::make_standard_socket_type(), blender::nodes::decl::Custom::matches(), blender::ntree_update_reroute_nodes(), blender::nodes::decl::Custom::update_or_build(), and blender::bke::update_typeinfo().
| int blender::bke::bNodeSocketType::input_link_limit = 0 |
Definition at line 203 of file BKE_node.hh.
Referenced by blender::make_socket_type_virtual(), blender::make_standard_socket_type(), and blender::bke::node_socket_link_limit().
| void(*) blender::bke::bNodeSocketType::interface_draw(ID *id, bNodeTreeInterfaceSocket *socket, bContext *C, ui::Layout *layout) = nullptr |
Definition at line 179 of file BKE_node.hh.
Referenced by blender::ED_init_standard_node_socket_type(), blender::ED_node_init_butfuncs(), and blender::ed::space_node::node_tree_interface_draw().
| void(*) blender::bke::bNodeSocketType::interface_from_socket(ID *id, bNodeTreeInterfaceSocket *interface_socket, const bNode *node, const bNodeSocket *socket) = nullptr |
Definition at line 188 of file BKE_node.hh.
Referenced by blender::bke::node_interface::add_interface_socket_from_node(), and blender::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 183 of file BKE_node.hh.
Referenced by blender::nodes::get_init_socket_fn(), and blender::make_standard_socket_type().
| std::string blender::bke::bNodeSocketType::label |
Type label.
Definition at line 167 of file BKE_node.hh.
Referenced by blender::ed::space_node::viewer_linking::get_viewer_source_name(), blender::make_standard_socket_type(), blender::nodes::node_geo_separate_bundle_cc::node_geo_exec(), and blender::bke::node_socket_type_label().
| SocketMakeNodesInputSrnaFunction blender::bke::bNodeSocketType::make_compositor_nodes_input_srna = nullptr |
Definition at line 219 of file BKE_node.hh.
Referenced by blender::nodes::get_input_socket_struct_rna(), blender::make_socket_type_bool(), blender::make_socket_type_bundle(), blender::make_socket_type_closure(), blender::make_socket_type_collection(), blender::make_socket_type_float(), blender::make_socket_type_font(), blender::make_socket_type_geometry(), blender::make_socket_type_image(), blender::make_socket_type_int(), blender::make_socket_type_int_vector(), blender::make_socket_type_material(), blender::make_socket_type_matrix(), blender::make_socket_type_menu(), blender::make_socket_type_object(), blender::make_socket_type_rgba(), blender::make_socket_type_rotation(), blender::make_socket_type_string(), blender::make_socket_type_texture(), and blender::make_socket_type_vector().
| SocketMakeNodesInputSrnaFunction blender::bke::bNodeSocketType::make_geometry_nodes_input_srna = nullptr |
Definition at line 218 of file BKE_node.hh.
Referenced by blender::nodes::get_input_socket_struct_rna(), blender::make_socket_type_bool(), blender::make_socket_type_bundle(), blender::make_socket_type_closure(), blender::make_socket_type_collection(), blender::make_socket_type_float(), blender::make_socket_type_font(), blender::make_socket_type_geometry(), blender::make_socket_type_image(), blender::make_socket_type_int(), blender::make_socket_type_material(), blender::make_socket_type_matrix(), blender::make_socket_type_menu(), blender::make_socket_type_object(), blender::make_socket_type_rgba(), blender::make_socket_type_rotation(), blender::make_socket_type_sound(), blender::make_socket_type_string(), blender::make_socket_type_texture(), and blender::make_socket_type_vector().
| SocketMakeNodesInputSrnaFunction blender::bke::bNodeSocketType::make_scene_compositor_effect_input_srna = nullptr |
Definition at line 220 of file BKE_node.hh.
Referenced by blender::ui::draw_property_for_socket(), blender::nodes::get_input_socket_struct_rna(), blender::make_socket_type_bool(), blender::make_socket_type_float(), blender::make_socket_type_font(), blender::make_socket_type_int(), blender::make_socket_type_int_vector(), blender::make_socket_type_menu(), blender::make_socket_type_object(), blender::make_socket_type_rgba(), blender::make_socket_type_rotation(), blender::make_socket_type_string(), and blender::make_socket_type_vector().
| int blender::bke::bNodeSocketType::output_link_limit = 0 |
Definition at line 204 of file BKE_node.hh.
Referenced by blender::make_socket_type_virtual(), blender::make_standard_socket_type(), and blender::bke::node_socket_link_limit().
| int blender::bke::bNodeSocketType::subtype = 0 |
Definition at line 199 of file BKE_node.hh.
Referenced by blender::bke::node_interface::socket_types::make_socket_data(), blender::make_standard_socket_type(), blender::nodes::decl::Float::matches(), blender::nodes::decl::Int::matches(), blender::nodes::decl::IntVector::matches(), blender::nodes::decl::String::matches(), blender::nodes::decl::Vector::matches(), blender::bke::node_modify_socket_type(), blender::bke::node_socket_set_typeinfo(), blender::ed::space_node::std_node_socket_draw(), blender::nodes::decl::Float::update_or_build(), blender::nodes::decl::Int::update_or_build(), blender::nodes::decl::IntVector::update_or_build(), blender::nodes::decl::String::update_or_build(), blender::nodes::decl::Vector::update_or_build(), and blender::version_node_add_socket().
| std::string blender::bke::bNodeSocketType::subtype_label |
Sub-type label.
Definition at line 169 of file BKE_node.hh.
Referenced by blender::make_standard_socket_type().
| eNodeSocketDatatype blender::bke::bNodeSocketType::type = eNodeSocketDatatype(0) |
Definition at line 198 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::composite_node_tree_socket_type_valid(), blender::seq::compositor_effect_nodes_input_usages(), blender::nodes::create_outputs_srna(), blender::ed::space_node::create_proxy_converter_node(), blender::ed::space_node::create_proxy_input_node(), blender::bke::create_socket_meta_data_properties(), blender::do_version_vector_sockets_dimensions(), blender::nodes::draw_error_message(), blender::nodes::draw_output_attributes_panel(), blender::nodes::draw_property_for_socket(), blender::ui::draw_property_for_socket(), blender::ED_init_standard_node_socket_type(), blender::ED_node_type_draw_color(), blender::bke::node_structure_type_inferencing::ensure_supported_structure_type(), blender::seq::CompositorEffectContext::evaluate(), blender::seq::CompositorModifierContext::evaluate(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::find_automatic_inputs(), blender::bke::node_tree_reference_lifetimes::find_reference_sets(), blender::ed::space_node::gather_socket_link_operations(), blender::nodes::LazyFunctionForEvaluateClosureNode::generate_closure_compatibility_warnings(), blender::geometry_node_tree_socket_type_valid(), blender::bke::get_internal_link_type_priority(), blender::nodes::LinkedBundleSignatures::get_merged_signature(), blender::nodes::LinkedClosureSignatures::get_merged_signature(), blender::nodes::has_output_attribute(), blender::nodes::implicitly_convert_socket_value(), blender::nodes::init_socket_cpp_value(), blender::nodes::inline_shader_node_tree(), blender::nodes::input_has_attribute_toggle(), blender::is_layer_selection_field(), blender::is_same_socket_base_type(), blender::bke::node_interface::socket_types::is_supported_socket_type(), blender::nodes::node_geo_viewer_cc::log_viewer_attribute(), blender::bke::node_interface::socket_types::make_socket_data(), blender::make_socket_type_virtual(), blender::make_standard_socket_type(), blender::bke::node_foreach_working_space_color(), blender::nodes::node_geo_combine_bundle_cc::node_gather_link_searches(), blender::nodes::node_geo_evaluate_closure_cc::node_gather_link_searches(), blender::nodes::node_geo_separate_bundle_cc::node_gather_link_searches(), blender::nodes::node_geo_viewer_cc::node_gather_link_searches(), blender::nodes::node_geo_get_bundle_item_cc::node_geo_exec(), blender::nodes::node_geo_separate_bundle_cc::node_geo_exec(), blender::node_implicit_conversion_label(), blender::ed::space_node::viewer_linking::node_link_viewer_get_socket(), blender::bke::node_modify_socket_type(), blender::nodes::node_shader_volume_principled_cc::node_shader_gpu_volume_principled(), blender::bke::node_socket_set_typeinfo(), blender::ed::space_node::node_tree_interface_draw(), blender::shader_node_tree_socket_type_valid(), blender::nodes::socket_type_supports_default_input_type(), blender::ed::space_node::socket_types_need_conversion(), blender::standard_node_socket_interface_init_socket(), blender::ed::space_node::std_node_socket_color_simple_fn(), blender::ed::space_node::std_node_socket_draw(), blender::ed::space_node::std_node_socket_interface_draw(), blender::nodes::sync_sockets_closure(), blender::nodes::sync_sockets_closure_to_list(), blender::nodes::sync_sockets_combine_bundle(), blender::nodes::sync_sockets_evaluate_closure(), blender::nodes::sync_sockets_separate_bundle(), blender::texture_node_tree_socket_type_valid(), blender::ed::space_node::ui_node_link_items(), and blender::version_node_add_socket().
| bool blender::bke::bNodeSocketType::use_link_limits_of_type = false |
Definition at line 202 of file BKE_node.hh.
Referenced by blender::make_socket_type_virtual(), blender::make_standard_socket_type(), and blender::bke::node_socket_link_limit().