Blender V4.3
blender::nodes::decl::Geometry Class Reference

#include <NOD_socket_declarations_geometry.hh>

Inherits blender::nodes::SocketDeclaration.

Public Types

using Builder = GeometryBuilder
 

Public Member Functions

#Geometry
bNodeSocketbuild (bNodeTree &ntree, bNode &node) const override
 
bool matches (const bNodeSocket &socket) const override
 
bool can_connect (const bNodeSocket &socket) const override
 
Span< bke::GeometryComponent::Typesupported_types () const
 
bool only_realized_data () const
 
bool only_instances () const
 
- Public Member Functions inherited from blender::nodes::SocketDeclaration
virtual ~SocketDeclaration ()=default
 
virtual bNodeSocketupdate_or_build (bNodeTree &ntree, bNode &node, bNodeSocket &socket) const
 
void make_available (bNode &node) const
 
const CompositorInputRealizationOptionscompositor_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
 

Static Public Attributes

static constexpr eNodeSocketDatatype static_socket_type = SOCK_GEOMETRY
 

Additional Inherited Members

- 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< ImplicitInputValueFnimplicit_input_fn
 
std::unique_ptr< SocketNameRNAsocket_name_rna
 
friend NodeDeclarationBuilder
 
- Protected Member Functions inherited from blender::nodes::SocketDeclaration
void set_common_flags (bNodeSocket &socket) const
 
bool matches_common_data (const bNodeSocket &socket) const
 

Detailed Description

Definition at line 15 of file NOD_socket_declarations_geometry.hh.

Member Typedef Documentation

◆ Builder

Member Function Documentation

◆ build()

◆ can_connect()

bool Geometry::can_connect ( const bNodeSocket & socket) const
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 665 of file node_socket_declarations.cc.

References SOCK_GEOMETRY, blender::nodes::decl::sockets_can_connect(), and bNodeSocket::type.

◆ matches()

bool Geometry::matches ( const bNodeSocket & socket) const
overridevirtual

◆ only_instances()

bool Geometry::only_instances ( ) const

◆ only_realized_data()

bool Geometry::only_realized_data ( ) const

◆ supported_types()

Member Data Documentation

◆ static_socket_type

eNodeSocketDatatype blender::nodes::decl::Geometry::static_socket_type = SOCK_GEOMETRY
staticconstexpr

Definition at line 24 of file NOD_socket_declarations_geometry.hh.


The documentation for this class was generated from the following files: