|
Blender V5.0
|
#include <NOD_socket_declarations.hh>
Inherits blender::nodes::SocketDeclaration.
Public Types | |
| using | Builder = BundleBuilder |
Public Member Functions | |
#Bundle | |
| 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_BUNDLE |
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 261 of file NOD_socket_declarations.hh.
Definition at line 272 of file NOD_socket_declarations.hh.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 637 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclaration::identifier, blender::nodes::SocketDeclaration::in_out, blender::bke::node_add_static_socket(), PROP_NONE, blender::nodes::SocketDeclaration::set_common_flags(), and SOCK_BUNDLE.
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 661 of file node_socket_declarations.cc.
References ELEM, SOCK_BUNDLE, blender::nodes::decl::sockets_can_connect(), and bNodeSocket::type.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 650 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclaration::matches_common_data(), SOCK_BUNDLE, and bNodeSocket::type.
|
overridevirtual |
Reimplemented from blender::nodes::SocketDeclaration.
Definition at line 669 of file node_socket_declarations.cc.
References BLI_assert, build(), bNodeSocket::in_out, blender::nodes::SocketDeclaration::set_common_flags(), SOCK_BUNDLE, and bNodeSocket::type.
| friend blender::nodes::decl::Bundle::BundleBuilder |
Definition at line 270 of file NOD_socket_declarations.hh.
| std::optional<int> blender::nodes::decl::Bundle::pass_through_input_index |
Index of a corresponding input socket. If set, the output is assumed to have the same bundle structure as the input.
Definition at line 268 of file NOD_socket_declarations.hh.
|
staticconstexpr |
Definition at line 263 of file NOD_socket_declarations.hh.