|
Blender
V2.93
|
Defines a socket type. More...
#include <BKE_node.h>
Defines a socket type.
Defines the appearance and behavior of a socket in the UI.
Definition at line 143 of file BKE_node.h.
| void(* bNodeSocketType::draw) (struct bContext *C, struct uiLayout *layout, struct PointerRNA *ptr, struct PointerRNA *node_ptr, const char *text) |
Definition at line 146 of file BKE_node.h.
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(* bNodeSocketType::draw_color) (struct bContext *C, struct PointerRNA *ptr, struct PointerRNA *node_ptr, float *r_color) |
Definition at line 151 of file BKE_node.h.
Referenced by ED_init_node_socket_type_virtual(), ED_init_standard_node_socket_type(), ED_node_init_butfuncs(), and node_socket_color_get().
| SocketExpandInMFNetworkFunction bNodeSocketType::expand_in_mf_network |
Definition at line 192 of file BKE_node.h.
Referenced by make_socket_type_object(), blender::nodes::socket_expand_in_mf_network(), and blender::nodes::socket_is_mf_data_socket().
| ExtensionRNA bNodeSocketType::ext_interface |
Definition at line 178 of file BKE_node.h.
Referenced by make_standard_socket_type().
| ExtensionRNA bNodeSocketType::ext_socket |
Definition at line 177 of file BKE_node.h.
Referenced by make_socket_type_virtual(), and make_standard_socket_type().
| void(* bNodeSocketType::free_self) (struct bNodeSocketType *stype) |
Definition at line 189 of file BKE_node.h.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), and node_free_socket_type().
| SocketGetCPPTypeFunction bNodeSocketType::get_cpp_type |
Definition at line 194 of file BKE_node.h.
Referenced by make_socket_type_bool(), make_socket_type_collection(), make_socket_type_float(), make_socket_type_geometry(), make_socket_type_int(), make_socket_type_object(), make_socket_type_rgba(), make_socket_type_string(), make_socket_type_vector(), and blender::nodes::socket_cpp_type_get().
| SocketGetCPPValueFunction bNodeSocketType::get_cpp_value |
Definition at line 196 of file BKE_node.h.
Referenced by make_socket_type_bool(), make_socket_type_float(), make_socket_type_geometry(), make_socket_type_int(), make_socket_type_rgba(), make_socket_type_string(), make_socket_type_vector(), blender::nodes::socket_cpp_value_get(), blender::nodes::socket_expand_in_mf_network(), and blender::nodes::socket_is_mf_data_socket().
| char bNodeSocketType::idname[64] |
Definition at line 144 of file BKE_node.h.
Referenced by make_socket_interface(), make_socket_type_virtual(), make_standard_socket_type(), nodeRegisterSocketType(), nodeUnregisterSocketType(), register_undefined_types(), and update_typeinfo().
| int bNodeSocketType::input_link_limit |
Definition at line 185 of file BKE_node.h.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), nodeSocketLinkLimit(), and register_undefined_types().
| void(* bNodeSocketType::interface_draw) (struct bContext *C, struct uiLayout *layout, struct PointerRNA *ptr) |
Definition at line 156 of file BKE_node.h.
Referenced by draw_socket_list(), ED_init_standard_node_socket_type(), and ED_node_init_butfuncs().
| void(* bNodeSocketType::interface_draw_color) (struct bContext *C, struct PointerRNA *ptr, float *r_color) |
Definition at line 157 of file BKE_node.h.
Referenced by ED_init_standard_node_socket_type(), and ED_node_init_butfuncs().
| void(* bNodeSocketType::interface_from_socket) (struct bNodeTree *ntree, struct bNodeSocket *stemp, struct bNode *node, struct bNodeSocket *sock) |
Definition at line 171 of file BKE_node.h.
Referenced by make_standard_socket_type(), ntreeAddSocketInterfaceFromSocket(), and ntreeInsertSocketInterfaceFromSocket().
| void(* bNodeSocketType::interface_init_socket) (struct bNodeTree *ntree, struct bNodeSocket *stemp, struct bNode *node, struct bNodeSocket *sock, const char *data_path) |
Definition at line 161 of file BKE_node.h.
Referenced by group_verify_socket(), and make_standard_socket_type().
| void(* bNodeSocketType::interface_register_properties) (struct bNodeTree *ntree, struct bNodeSocket *stemp, struct StructRNA *data_srna) |
Definition at line 158 of file BKE_node.h.
Referenced by ntree_interface_type_create().
| void(* bNodeSocketType::interface_verify_socket) (struct bNodeTree *ntree, struct bNodeSocket *stemp, struct bNode *node, struct bNodeSocket *sock, const char *data_path) |
Definition at line 166 of file BKE_node.h.
Referenced by group_verify_socket(), and make_standard_socket_type().
| int bNodeSocketType::output_link_limit |
Definition at line 186 of file BKE_node.h.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), nodeSocketLinkLimit(), and register_undefined_types().
| int bNodeSocketType::subtype |
Definition at line 181 of file BKE_node.h.
Referenced by make_standard_socket_type(), node_socket_init_default_value(), register_undefined_types(), and std_node_socket_draw().
| int bNodeSocketType::type |
Definition at line 181 of file BKE_node.h.
Referenced by log_ui_hints(), make_socket_type_virtual(), make_standard_socket_type(), node_socket_init_default_value(), node_socket_set_typeinfo(), register_undefined_types(), standard_node_socket_interface_from_socket(), standard_node_socket_interface_init_socket(), standard_node_socket_interface_verify_socket(), std_node_socket_draw(), std_node_socket_draw_color(), std_node_socket_interface_draw(), std_node_socket_interface_draw_color(), and ui_node_link_items().
| bool bNodeSocketType::use_link_limits_of_type |
Definition at line 184 of file BKE_node.h.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), nodeSocketLinkLimit(), and register_undefined_types().