Blender  V3.3
Public Member Functions | List of all members
blender::nodes::NodeRef Class Reference

#include <NOD_node_tree_ref.hh>

Inheritance diagram for blender::nodes::NodeRef:
blender::NonCopyable blender::NonMovable

Public Member Functions

bool any_input_is_directly_linked () const
 
bool any_output_is_directly_linked () const
 
bool any_socket_is_directly_linked (eNodeSocketInOut in_out) const
 
PointerRNA rna () const
 
#NodeRef Inline Methods
const NodeTreeReftree () const
 
Span< const InputSocketRef * > inputs () const
 
Span< const OutputSocketRef * > outputs () const
 
Span< const InternalLinkRef * > internal_links () const
 
Span< const SocketRef * > sockets (eNodeSocketInOut in_out) const
 
const InputSocketRefinput (int index) const
 
const OutputSocketRefoutput (int index) const
 
const InputSocketRefinput_by_identifier (StringRef identifier) const
 
const OutputSocketRefoutput_by_identifier (StringRef identifier) const
 
bNodebnode () const
 
bNodeTreebtree () const
 
StringRefNull idname () const
 
StringRefNull name () const
 
StringRefNull label () const
 
StringRefNull label_or_name () const
 
bNodeTypetypeinfo () const
 
const NodeDeclarationdeclaration () const
 
int id () const
 
bool is_reroute_node () const
 
bool is_group_node () const
 
bool is_group_input_node () const
 
bool is_group_output_node () const
 
bool is_muted () const
 
bool is_frame () const
 
bool is_undefined () const
 
voidstorage () const
 
template<typename T >
Tstorage () const
 

Detailed Description

Definition at line 151 of file NOD_node_tree_ref.hh.

Member Function Documentation

◆ any_input_is_directly_linked()

bool blender::nodes::NodeRef::any_input_is_directly_linked ( ) const

Definition at line 476 of file node_tree_ref.cc.

Referenced by any_socket_is_directly_linked().

◆ any_output_is_directly_linked()

bool blender::nodes::NodeRef::any_output_is_directly_linked ( ) const

Definition at line 486 of file node_tree_ref.cc.

Referenced by any_socket_is_directly_linked().

◆ any_socket_is_directly_linked()

bool blender::nodes::NodeRef::any_socket_is_directly_linked ( eNodeSocketInOut  in_out) const

◆ bnode()

bNode * blender::nodes::NodeRef::bnode ( ) const
inline

◆ btree()

bNodeTree * blender::nodes::NodeRef::btree ( ) const
inline

◆ declaration()

const NodeDeclaration * blender::nodes::NodeRef::declaration ( ) const
inline

Definition at line 598 of file NOD_node_tree_ref.hh.

References btree(), nodeDeclarationEnsure(), bNode::runtime, and tree().

◆ id()

int blender::nodes::NodeRef::id ( ) const
inline

Definition at line 604 of file NOD_node_tree_ref.hh.

Referenced by blender::nodes::toposort_from_start_node().

◆ idname()

StringRefNull blender::nodes::NodeRef::idname ( ) const
inline

Definition at line 568 of file NOD_node_tree_ref.hh.

References bNode::idname.

◆ input()

const InputSocketRef & blender::nodes::NodeRef::input ( int  index) const
inline

◆ input_by_identifier()

const InputSocketRef & blender::nodes::NodeRef::input_by_identifier ( StringRef  identifier) const
inline

◆ inputs()

Span< const InputSocketRef * > blender::nodes::NodeRef::inputs ( ) const
inline

◆ internal_links()

Span< const InternalLinkRef * > blender::nodes::NodeRef::internal_links ( ) const
inline

Definition at line 531 of file NOD_node_tree_ref.hh.

◆ is_frame()

bool blender::nodes::NodeRef::is_frame ( ) const
inline

Definition at line 629 of file NOD_node_tree_ref.hh.

References NODE_FRAME, and bNode::type.

◆ is_group_input_node()

bool blender::nodes::NodeRef::is_group_input_node ( ) const
inline

◆ is_group_node()

bool blender::nodes::NodeRef::is_group_node ( ) const
inline

◆ is_group_output_node()

bool blender::nodes::NodeRef::is_group_output_node ( ) const
inline

◆ is_muted()

bool blender::nodes::NodeRef::is_muted ( ) const
inline

◆ is_reroute_node()

bool blender::nodes::NodeRef::is_reroute_node ( ) const
inline

Definition at line 609 of file NOD_node_tree_ref.hh.

References NODE_REROUTE, and bNode::type.

◆ is_undefined()

bool blender::nodes::NodeRef::is_undefined ( ) const
inline

Definition at line 634 of file NOD_node_tree_ref.hh.

References NodeTypeUndefined, and bNode::typeinfo.

◆ label()

StringRefNull blender::nodes::NodeRef::label ( ) const
inline

Definition at line 578 of file NOD_node_tree_ref.hh.

References bNode::label.

Referenced by label_or_name().

◆ label_or_name()

StringRefNull blender::nodes::NodeRef::label_or_name ( ) const
inline

◆ name()

StringRefNull blender::nodes::NodeRef::name ( ) const
inline

Definition at line 573 of file NOD_node_tree_ref.hh.

References bNode::name.

Referenced by label_or_name().

◆ output()

const OutputSocketRef & blender::nodes::NodeRef::output ( int  index) const
inline

◆ output_by_identifier()

const OutputSocketRef & blender::nodes::NodeRef::output_by_identifier ( StringRef  identifier) const
inline

◆ outputs()

Span< const OutputSocketRef * > blender::nodes::NodeRef::outputs ( ) const
inline

◆ rna()

PointerRNA blender::nodes::NodeRef::rna ( ) const

◆ sockets()

Span< const SocketRef * > blender::nodes::NodeRef::sockets ( eNodeSocketInOut  in_out) const
inline

Definition at line 525 of file NOD_node_tree_ref.hh.

References SOCK_IN.

◆ storage() [1/2]

void * blender::nodes::NodeRef::storage ( ) const
inline

Definition at line 644 of file NOD_node_tree_ref.hh.

References bNode::storage.

◆ storage() [2/2]

template<typename T >
T * blender::nodes::NodeRef::storage
inline

Definition at line 649 of file NOD_node_tree_ref.hh.

References bNode::storage, and T.

◆ tree()

const NodeTreeRef & blender::nodes::NodeRef::tree ( ) const
inline

◆ typeinfo()

bNodeType * blender::nodes::NodeRef::typeinfo ( ) const
inline

Definition at line 592 of file NOD_node_tree_ref.hh.

References bNode::typeinfo.

Referenced by blender::io::obj::find_bsdf_node().


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