Blender
V3.3
|
#include <NOD_socket_declarations_geometry.hh>
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< GeometryComponentType > | supported_types () const |
bool | only_realized_data () const |
bool | only_instances () const |
![]() | |
virtual | ~SocketDeclaration ()=default |
virtual bNodeSocket & | update_or_build (bNodeTree &ntree, bNode &node, bNodeSocket &socket) const |
void | make_available (bNode &node) const |
StringRefNull | name () const |
StringRefNull | description () const |
StringRefNull | identifier () const |
eNodeSocketInOut | in_out () const |
bool | is_attribute_name () const |
bool | is_default_link_socket () const |
InputSocketFieldType | input_field_type () const |
const OutputFieldDependency & | output_field_dependency () const |
Additional Inherited Members | |
![]() | |
void | set_common_flags (bNodeSocket &socket) const |
bool | matches_common_data (const bNodeSocket &socket) const |
![]() | |
std::string | name_ |
std::string | identifier_ |
std::string | description_ |
eNodeSocketInOut | in_out_ |
bool | hide_label_ = false |
bool | hide_value_ = false |
bool | compact_ = false |
bool | is_multi_input_ = false |
bool | no_mute_links_ = false |
bool | is_unavailable_ = false |
bool | is_attribute_name_ = false |
bool | is_default_link_socket_ = false |
InputSocketFieldType | input_field_type_ = InputSocketFieldType::None |
OutputFieldDependency | output_field_dependency_ |
std::function< void(bNode &)> | make_available_fn_ |
friend | NodeDeclarationBuilder |
Definition at line 13 of file NOD_socket_declarations_geometry.hh.
Definition at line 22 of file NOD_socket_declarations_geometry.hh.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 403 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclaration::identifier_, blender::nodes::SocketDeclaration::in_out_, blender::nodes::SocketDeclaration::name_, node, nodeAddSocket(), ntree, 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 422 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 411 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 437 of file node_socket_declarations.cc.
Referenced by blender::nodes::GeoNodeExecParams::check_input_geometry_set().
bool Geometry::only_realized_data | ( | ) | const |
Definition at line 432 of file node_socket_declarations.cc.
Referenced by blender::nodes::GeoNodeExecParams::check_input_geometry_set().
Span< GeometryComponentType > Geometry::supported_types | ( | ) | const |
Definition at line 427 of file node_socket_declarations.cc.
Referenced by blender::nodes::GeoNodeExecParams::check_input_geometry_set(), and blender::ed::space_node::create_inspection_string_for_geometry().