|
Blender V5.3
|
#include <NOD_socket_declarations.hh>
Inherits blender::nodes::SocketDeclaration.
Public Types | |
| using | Builder = IntVectorBuilder |
Public Member Functions | |
#IntVector | |
| 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_INT_VECTOR |
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 130 of file NOD_socket_declarations.hh.
Definition at line 142 of file NOD_socket_declarations.hh.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 348 of file node_socket_declarations.cc.
References blender::bNodeSocket::default_value, default_value, blender::bNodeSocketValueIntVector::dimensions, dimensions, blender::nodes::SocketDeclaration::identifier, blender::nodes::SocketDeclaration::in_out, blender::bNodeSocketValueIntVector::max, blender::bNodeSocketValueIntVector::min, node, blender::bke::node_add_socket(), blender::bke::node_static_socket_type(), blender::UString::ref(), blender::nodes::SocketDeclaration::set_common_flags(), blender::SOCK_INT_VECTOR, soft_max_value, soft_min_value, subtype, and blender::bNodeSocketValueIntVector::value.
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 389 of file node_socket_declarations.cc.
References blender::nodes::decl::basic_types_can_connect(), and blender::nodes::decl::sockets_can_connect().
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 364 of file node_socket_declarations.cc.
References blender::bNodeSocket::default_value, blender::bNodeSocketValueIntVector::dimensions, blender::nodes::SocketDeclaration::matches_common_data(), blender::bNodeSocketValueIntVector::max, blender::bNodeSocketValueIntVector::min, blender::SOCK_INT_VECTOR, blender::bke::bNodeSocketType::subtype, blender::bNodeSocket::type, and blender::bNodeSocket::typeinfo.
|
overridevirtual |
Reimplemented from blender::nodes::SocketDeclaration.
Definition at line 397 of file node_socket_declarations.cc.
References blender::BLI_assert(), build(), blender::bNodeSocket::default_value, blender::bNodeSocketValueIntVector::dimensions, dimensions, blender::bNodeSocket::in_out, blender::bNodeSocketValueIntVector::max, blender::bNodeSocketValueIntVector::min, blender::nodes::decl::modify_subtype_except_for_storage(), node, blender::nodes::SocketDeclaration::set_common_flags(), blender::SOCK_INT_VECTOR, soft_max_value, soft_min_value, blender::bke::bNodeSocketType::subtype, blender::bNodeSocketValueIntVector::subtype, subtype, blender::bNodeSocket::type, and blender::bNodeSocket::typeinfo.
| int3 blender::nodes::decl::IntVector::default_value = {0, 0, 0} |
Definition at line 134 of file NOD_socket_declarations.hh.
Referenced by build(), blender::nodes::build_interface_socket_declaration(), and blender::nodes::node_composite_blank_image_cc::node_declare().
| int blender::nodes::decl::IntVector::dimensions = 3 |
Definition at line 137 of file NOD_socket_declarations.hh.
Referenced by build(), and update_or_build().
| friend blender::nodes::decl::IntVector::IntVectorBuilder |
Definition at line 140 of file NOD_socket_declarations.hh.
| int blender::nodes::decl::IntVector::soft_max_value = INT_MAX |
Definition at line 136 of file NOD_socket_declarations.hh.
Referenced by build(), and update_or_build().
| int blender::nodes::decl::IntVector::soft_min_value = INT_MIN |
Definition at line 135 of file NOD_socket_declarations.hh.
Referenced by build(), and update_or_build().
|
staticconstexpr |
Definition at line 132 of file NOD_socket_declarations.hh.
| PropertySubType blender::nodes::decl::IntVector::subtype = PROP_NONE |
Definition at line 138 of file NOD_socket_declarations.hh.
Referenced by build(), and update_or_build().