|
Blender V4.3
|
#include <NOD_socket_declarations.hh>
Inherits blender::nodes::SocketDeclaration.
Public Types | |
| using | Builder = BoolBuilder |
Public Member Functions | |
#Bool | |
| 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 | |
| virtual | ~SocketDeclaration ()=default |
| void | make_available (bNode &node) const |
| const CompositorInputRealizationOptions & | compositor_realization_options () const |
| int | compositor_domain_priority () const |
| bool | compositor_expects_single_value () const |
Public Member Functions inherited from blender::nodes::ItemDeclaration | |
| virtual | ~ItemDeclaration ()=default |
Public Attributes | |
| bool | default_value = false |
| friend | BoolBuilder |
Public Attributes inherited from blender::nodes::SocketDeclaration | |
| std::string | name |
| std::string | short_label |
| std::string | identifier |
| std::string | description |
| std::string | translation_context |
| eNodeSocketInOut | in_out |
| eNodeSocketDatatype | socket_type |
| bool | hide_label = false |
| bool | hide_value = false |
| bool | compact = false |
| bool | is_multi_input = false |
| bool | no_mute_links = false |
| bool | is_available = true |
| bool | is_attribute_name = false |
| bool | is_default_link_socket = false |
| bool | align_with_previous_socket = false |
| InputSocketFieldType | input_field_type = InputSocketFieldType::None |
| OutputFieldDependency | output_field_dependency |
| std::unique_ptr< ImplicitInputValueFn > | implicit_input_fn |
| std::unique_ptr< SocketNameRNA > | socket_name_rna |
| friend | NodeDeclarationBuilder |
Static Public Attributes | |
| static constexpr eNodeSocketDatatype | static_socket_type = SOCK_BOOLEAN |
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 107 of file NOD_socket_declarations.hh.
Definition at line 114 of file NOD_socket_declarations.hh.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 289 of file node_socket_declarations.cc.
References default_value, bNodeSocket::default_value, blender::nodes::SocketDeclaration::in_out, blender::bke::node_add_static_socket(), PROP_NONE, blender::nodes::SocketDeclaration::set_common_flags(), and SOCK_BOOLEAN.
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 315 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 304 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclaration::matches_common_data(), SOCK_BOOLEAN, and bNodeSocket::type.
|
overridevirtual |
Reimplemented from blender::nodes::SocketDeclaration.
Definition at line 323 of file node_socket_declarations.cc.
References BLI_assert, build(), bNodeSocket::in_out, blender::nodes::SocketDeclaration::set_common_flags(), SOCK_BOOLEAN, and bNodeSocket::type.
| friend blender::nodes::decl::Bool::BoolBuilder |
Definition at line 112 of file NOD_socket_declarations.hh.
| bool blender::nodes::decl::Bool::default_value = false |
Definition at line 111 of file NOD_socket_declarations.hh.
Referenced by build().
|
staticconstexpr |
Definition at line 109 of file NOD_socket_declarations.hh.