Blender V5.3
node_socket.cc File Reference
#include <climits>
#include <fmt/format.h>
#include "DNA_ID.h"
#include "DNA_node_types.h"
#include "BLI_color_types.hh"
#include "BLI_listbase.hh"
#include "BLI_math_euler.hh"
#include "BLI_math_quaternion_types.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_string.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "BKE_action.hh"
#include "BKE_animsys.hh"
#include "BKE_compositor.hh"
#include "BKE_geometry_set.hh"
#include "BKE_idprop.hh"
#include "BKE_lib_id.hh"
#include "BKE_node.hh"
#include "BKE_node_enum.hh"
#include "BKE_node_legacy_types.hh"
#include "BKE_node_runtime.hh"
#include "BKE_node_socket_value.hh"
#include "BKE_node_tree_update.hh"
#include "DNA_anim_types.h"
#include "DNA_collection_types.h"
#include "DNA_mask_types.h"
#include "DNA_material_types.h"
#include "DNA_sequence_types.h"
#include "DNA_sound_types.h"
#include "DNA_text_types.h"
#include "DNA_vfont_types.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "RNA_prototypes.hh"
#include "MEM_guardedalloc.h"
#include "NOD_compositor_nodes_srna.hh"
#include "NOD_geometry.hh"
#include "NOD_geometry_nodes_bundle.hh"
#include "NOD_geometry_nodes_closure.hh"
#include "NOD_geometry_nodes_srna.hh"
#include "NOD_menu_value.hh"
#include "NOD_node_declaration.hh"
#include "NOD_socket.hh"
#include "SEQ_iterator.hh"
#include "SEQ_modifier.hh"
#include "SEQ_relations.hh"
#include "SEQ_sequencer.hh"
#include "WM_types.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "ANIM_action.hh"
#include "ANIM_action_iterators.hh"

Go to the source code of this file.

Classes

class  blender::SocketValueVariant

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::nodes

Typedefs

using blender::SocketDeclarationPtr

Functions

bNodeSocket * blender::node_add_socket_from_template (bNodeTree *ntree, bNode *node, bke::bNodeSocketTemplate *stemp, eNodeSocketInOut in_out)
static bNodeSocket * blender::verify_socket_template (bNodeTree *ntree, bNode *node, eNodeSocketInOut in_out, ListBaseT< bNodeSocket > *socklist, bke::bNodeSocketTemplate *stemp)
static void blender::verify_socket_template_list (bNodeTree *ntree, bNode *node, eNodeSocketInOut in_out, ListBaseT< bNodeSocket > *socklist, bke::bNodeSocketTemplate *stemp_first)
static void blender::nodes::refresh_node_socket (bNodeTree &ntree, bNode &node, const SocketDeclaration &socket_decl, Vector< bNodeSocket * > &old_sockets, VectorSet< bNodeSocket * > &new_sockets, const bool hide_new_sockets)
static void blender::nodes::refresh_node_panel (const PanelDeclaration &panel_decl, Vector< bNodePanelState > &old_panels, bNodePanelState &new_panel)
static const char * blender::nodes::get_identifier_from_decl (const char *identifier_prefix, const bNodeSocket &socket, const Span< const SocketDeclaration * > socket_decls)
static const char * blender::nodes::get_identifier_from_decl (const Span< const char * > identifier_prefixes, const bNodeSocket &socket, const Span< const SocketDeclaration * > socket_decls)
static const char * blender::nodes::get_current_socket_identifier_for_future_socket (const bNode &node, const bNodeSocket &socket, const Span< const SocketDeclaration * > socket_decls)
static void blender::nodes::do_forward_compat_versioning (bNode &node, const NodeDeclaration &node_decl)
static bool blender::nodes::hide_new_group_input_sockets (const bNode &node)
static void blender::nodes::refresh_node_sockets_animation_inout (Main &bmain, bNodeTree &ntree, bNode &node, const eNodeSocketInOut in_out, const Span< bNodeSocket * > old_sockets, const Span< bNodeSocket * > new_sockets)
static void blender::nodes::refresh_node_sockets_and_panels (Main *bmain, bNodeTree &ntree, bNode &node, const NodeDeclaration &node_decl, const bool do_id_user)
static void blender::nodes::refresh_node (Main *bmain, bNodeTree &ntree, bNode &node, nodes::NodeDeclaration &node_decl, bool do_id_user)
void blender::nodes::update_node_declaration_and_sockets (bNodeTree &ntree, bNode &node, Main *bmain)
bool blender::nodes::socket_type_supports_fields (const eNodeSocketDatatype socket_type)
bool blender::nodes::socket_type_supports_attributes (const eNodeSocketDatatype socket_type)
bool blender::nodes::socket_type_supports_grids (const eNodeSocketDatatype socket_type)
void blender::node_verify_sockets (Main *bmain, bNodeTree *ntree, bNode *node, bool do_id_user)
static void blender::standard_node_socket_interface_init_socket (ID *, const bNodeTreeInterfaceSocket *interface_socket, bNode *, bNodeSocket *sock, StringRefNull)
static void blender::standard_node_socket_interface_from_socket (ID *, bNodeTreeInterfaceSocket *iosock, const bNode *, const bNodeSocket *sock)
static bke::bNodeSocketType * blender::make_standard_socket_type (const eNodeSocketDatatype type, int subtype, std::optional< int > dimensions=std::nullopt)
static bke::bNodeSocketType * blender::make_socket_type_virtual ()
static void blender::make_common_type_prop (StructRNA &srna, const bNodeTreeInterfaceSocket &socket, const EnumPropertyItem *items, const nodes::GeometryNodesInputType default_type, nodes::GeneratedTreeSrnaData &r_generated)
static void blender::make_common_type_prop (StructRNA &srna, const bNodeTreeInterfaceSocket &socket, const EnumPropertyItem *items, const nodes::CompositorNodesInputType default_type, nodes::GeneratedTreeSrnaData &r_generated)
static Strip * blender::find_compositor_properties_strip (PointerRNA *ptr, Editing *ed)
static void blender::set_common_sequencer_update_function (PropertyRNA *prop)
static void blender::make_common_attribute_name_prop (StructRNA &srna, const bNodeTreeInterfaceSocket &socket, nodes::GeneratedTreeSrnaData &r_generated)
static void blender::make_common_value_and_attribute_props (StructRNA &srna, const bNodeTreeInterfaceSocket &socket, nodes::GeneratedTreeSrnaData &r_generated)
static void blender::make_common_value_props (StructRNA &srna, const bNodeTreeInterfaceSocket &socket, nodes::GeneratedTreeSrnaData &r_generated)
static void blender::make_common_fallback_props (StructRNA &srna, const bNodeTreeInterfaceSocket &socket, nodes::GeneratedTreeSrnaData &r_generated)
static void blender::data_block_pointer_update (Main *bmain, Scene *, PointerRNA *)
static void blender::set_scene_compositor_effect_property_common_properties (PropertyRNA *property)
static bke::bNodeSocketType * blender::make_socket_type_bool ()
static bke::bNodeSocketType * blender::make_socket_type_rotation ()
static bke::bNodeSocketType * blender::make_socket_type_matrix ()
static bke::bNodeSocketType * blender::make_socket_type_bundle ()
static bke::bNodeSocketType * blender::make_socket_type_closure ()
static bke::bNodeSocketType * blender::make_socket_type_float (PropertySubType subtype)
static bke::bNodeSocketType * blender::make_socket_type_int (PropertySubType subtype)
static bke::bNodeSocketType * blender::make_socket_type_vector (PropertySubType subtype, const int dimensions)
static bke::bNodeSocketType * blender::make_socket_type_int_vector (PropertySubType subtype, const int dimensions)
static bke::bNodeSocketType * blender::make_socket_type_rgba ()
static bke::bNodeSocketType * blender::make_socket_type_string (PropertySubType subtype)
static const EnumPropertyItem * blender::enum_property_items_from_menu_node_socket (const bNodeSocketValueMenu *menu, bool &r_default_value_found, nodes::GeneratedTreeSrnaData &r_generated)
static bke::bNodeSocketType * blender::make_socket_type_menu ()
static bke::bNodeSocketType * blender::make_socket_type_object ()
static bke::bNodeSocketType * blender::make_socket_type_geometry ()
static bke::bNodeSocketType * blender::make_socket_type_collection ()
static bke::bNodeSocketType * blender::make_socket_type_texture ()
static bke::bNodeSocketType * blender::make_socket_type_image ()
static bke::bNodeSocketType * blender::make_socket_type_material ()
static bke::bNodeSocketType * blender::make_socket_type_font ()
static bke::bNodeSocketType * blender::make_socket_type_scene ()
static bke::bNodeSocketType * blender::make_socket_type_text ()
static bke::bNodeSocketType * blender::make_socket_type_mask ()
static bke::bNodeSocketType * blender::make_socket_type_sound ()
void blender::register_standard_node_socket_types ()
Socket Type Init
void blender::ED_init_standard_node_socket_type (bke::bNodeSocketType *stype)
void blender::ED_init_node_socket_type_virtual (bke::bNodeSocketType *stype)