|
Blender V4.5
|
#include <NOD_socket_declarations.hh>
Inherits blender::nodes::SocketDeclaration.
Public Types | |
| using | Builder = CustomTypeBuilder |
Public Member Functions | |
#Custom | |
| 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 |
| bool | compositor_expects_single_value () const |
| Public Member Functions inherited from blender::nodes::ItemDeclaration | |
| virtual | ~ItemDeclaration ()=default |
Static Public Attributes | |
| static constexpr eNodeSocketDatatype | static_socket_type = SOCK_CUSTOM |
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 395 of file NOD_socket_declarations.hh.
Definition at line 401 of file NOD_socket_declarations.hh.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 907 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclaration::identifier, idname_, blender::nodes::SocketDeclaration::in_out, init_socket_fn, blender::bke::node_add_socket(), and this.
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 931 of file node_socket_declarations.cc.
References bNodeSocket::idname, idname_, blender::nodes::decl::sockets_can_connect(), and STREQ.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 917 of file node_socket_declarations.cc.
References idname_, blender::nodes::SocketDeclaration::matches_common_data(), SOCK_CUSTOM, bNodeSocket::type, and bNodeSocket::typeinfo.
|
overridevirtual |
Reimplemented from blender::nodes::SocketDeclaration.
Definition at line 936 of file node_socket_declarations.cc.
References build(), idname_, blender::nodes::SocketDeclaration::set_common_flags(), and bNodeSocket::typeinfo.
| friend blender::nodes::decl::Custom::CustomTypeBuilder |
Definition at line 399 of file NOD_socket_declarations.hh.
| const char* blender::nodes::decl::Custom::idname_ |
Definition at line 403 of file NOD_socket_declarations.hh.
Referenced by build(), can_connect(), matches(), and update_or_build().
| std::function<void(bNode &node, bNodeSocket &socket, const char *data_path)> blender::nodes::decl::Custom::init_socket_fn |
Definition at line 404 of file NOD_socket_declarations.hh.
Referenced by build(), and blender::nodes::build_interface_socket_declaration().
|
staticconstexpr |
Definition at line 397 of file NOD_socket_declarations.hh.