|
Blender V5.3
|
#include <NOD_socket_declarations.hh>
Inherits blender::nodes::SocketDeclaration.
Public Types | |
| using | Builder = StringBuilder |
Public Member Functions | |
#String | |
| bNodeSocket & | build (bNodeTree &ntree, bNode &node) const override |
| bool | matches (const bNodeSocket &socket) const override |
| bNodeSocket & | update_or_build (bNodeTree &ntree, bNode &node, bNodeSocket &socket) const override |
| bool | can_connect (const bNodeSocket &socket) const override |
| Public Member Functions inherited from blender::nodes::SocketDeclaration | |
| ~SocketDeclaration () override=default | |
| void | make_available (bNode &node) const |
| const CompositorInputRealizationMode & | compositor_realization_mode () const |
| int | compositor_domain_priority () const |
| Public Member Functions inherited from blender::nodes::ItemDeclaration | |
| virtual | ~ItemDeclaration ()=default |
Static Public Attributes | |
| static constexpr eNodeSocketDatatype | static_socket_type = SOCK_STRING |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::nodes::SocketDeclaration | |
| void | set_common_flags (bNodeSocket &socket) const |
| bool | matches_common_data (const bNodeSocket &socket) const |
Definition at line 252 of file NOD_socket_declarations.hh.
Definition at line 262 of file NOD_socket_declarations.hh.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 642 of file node_socket_declarations.cc.
References blender::bNodeSocket::default_value, blender::nodes::SocketDeclaration::identifier, blender::nodes::SocketDeclaration::in_out, node, blender::bke::node_add_static_socket(), blender::UString::ref(), blender::nodes::SocketDeclaration::set_common_flags(), blender::SOCK_STRING, blender::STRNCPY(), and subtype.
Referenced by update_or_build().
|
overridevirtual |
Determine if a new socket described by this declaration could have a valid connection the other socket.
Implements blender::nodes::SocketDeclaration.
Definition at line 671 of file node_socket_declarations.cc.
References blender::SOCK_STRING, blender::nodes::decl::sockets_can_connect(), and blender::bNodeSocket::type.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 657 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclaration::matches_common_data(), blender::SOCK_STRING, blender::bke::bNodeSocketType::subtype, blender::bNodeSocket::type, and blender::bNodeSocket::typeinfo.
|
overridevirtual |
Reimplemented from blender::nodes::SocketDeclaration.
Definition at line 676 of file node_socket_declarations.cc.
References blender::BLI_assert(), build(), blender::bNodeSocket::default_value, blender::bNodeSocket::in_out, blender::nodes::decl::modify_subtype_except_for_storage(), node, blender::nodes::SocketDeclaration::set_common_flags(), blender::SOCK_STRING, blender::bke::bNodeSocketType::subtype, blender::bNodeSocketValueString::subtype, subtype, blender::bNodeSocket::type, and blender::bNodeSocket::typeinfo.
| std::string blender::nodes::decl::String::default_value |
Definition at line 256 of file NOD_socket_declarations.hh.
Referenced by blender::nodes::build_interface_socket_declaration().
| std::optional<std::string> blender::nodes::decl::String::path_filter |
Definition at line 258 of file NOD_socket_declarations.hh.
Referenced by blender::nodes::node_geo_import_csv::node_declare(), blender::nodes::node_geo_import_obj::node_declare(), blender::nodes::node_geo_import_spz::node_declare(), blender::nodes::node_geo_import_stl::node_declare(), blender::nodes::node_geo_import_text::node_declare(), blender::nodes::node_geo_import_vdb::node_declare(), and blender::nodes::nodes_geo_import_ply::node_declare().
|
staticconstexpr |
Definition at line 254 of file NOD_socket_declarations.hh.
| friend blender::nodes::decl::String::StringBuilder |
Definition at line 260 of file NOD_socket_declarations.hh.
| PropertySubType blender::nodes::decl::String::subtype = PROP_NONE |
Definition at line 257 of file NOD_socket_declarations.hh.
Referenced by build(), and update_or_build().