|
Blender V5.0
|
#include <NOD_socket_declarations_geometry.hh>
Inherits blender::nodes::SocketDeclaration.
Public Types | |
| using | Builder = GeometryBuilder |
Public Member Functions | |
#Geometry | |
| bNodeSocket & | build (bNodeTree &ntree, bNode &node) const override |
| bool | matches (const bNodeSocket &socket) const override |
| bool | can_connect (const bNodeSocket &socket) const override |
| Span< bke::GeometryComponent::Type > | supported_types () const |
| bool | only_realized_data () const |
| bool | only_instances () const |
| Public Member Functions inherited from blender::nodes::SocketDeclaration | |
| ~SocketDeclaration () override=default | |
| virtual bNodeSocket & | update_or_build (bNodeTree &ntree, bNode &node, bNodeSocket &socket) const |
| 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_GEOMETRY |
Definition at line 15 of file NOD_socket_declarations_geometry.hh.
| using blender::nodes::decl::Geometry::Builder = GeometryBuilder |
Definition at line 26 of file NOD_socket_declarations_geometry.hh.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 789 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclaration::identifier, blender::nodes::SocketDeclaration::in_out, blender::bke::node_add_socket(), and blender::nodes::SocketDeclaration::set_common_flags().
|
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 812 of file node_socket_declarations.cc.
References SOCK_GEOMETRY, blender::nodes::decl::sockets_can_connect(), and bNodeSocket::type.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 801 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclaration::matches_common_data(), SOCK_GEOMETRY, and bNodeSocket::type.
| bool Geometry::only_instances | ( | ) | const |
Definition at line 827 of file node_socket_declarations.cc.
Referenced by blender::nodes::GeoNodeExecParams::check_input_geometry_set().
| bool Geometry::only_realized_data | ( | ) | const |
Definition at line 822 of file node_socket_declarations.cc.
Referenced by blender::nodes::GeoNodeExecParams::check_input_geometry_set(), blender::nodes::node_geo_curve_sample_cc::node_declare(), and blender::nodes::node_geo_proximity_cc::node_declare().
| Span< bke::GeometryComponent::Type > Geometry::supported_types | ( | ) | const |
Definition at line 817 of file node_socket_declarations.cc.
Referenced by blender::nodes::GeoNodeExecParams::check_input_geometry_set().
|
staticconstexpr |
Definition at line 24 of file NOD_socket_declarations_geometry.hh.