|
Blender V4.5
|
#include <NOD_node_declaration.hh>
Public Member Functions | |
| void | assert_valid () const |
| bool | matches (const bNode &node) const |
| Span< SocketDeclaration * > | sockets (eNodeSocketInOut in_out) const |
| const aal::RelationsInNode * | anonymous_attribute_relations () const |
Public Attributes | |
| VectorVector< ItemDeclarationPtr > | all_items |
| VectorVector< ItemDeclaration * > | root_items |
| VectorVector< SocketDeclaration * > | inputs |
| VectorVector< SocketDeclaration * > | outputs |
| VectorVector< PanelDeclaration * > | panels |
| std::unique_ptr< aal::RelationsInNode > | anonymous_attribute_relations_ |
| bool | skip_updating_sockets = false |
| bool | use_custom_socket_order = false |
| bool | allow_any_socket_order = false |
| bool | is_context_dependent = false |
| friend | NodeDeclarationBuilder |
Definition at line 583 of file NOD_node_declaration.hh.
|
inline |
Definition at line 621 of file NOD_node_declaration.hh.
| void blender::nodes::NodeDeclaration::assert_valid | ( | ) | const |
Asserts that the declaration is considered valid.
Definition at line 203 of file node_declaration.cc.
| bool blender::nodes::NodeDeclaration::matches | ( | const bNode & | node | ) | const |
Definition at line 218 of file node_declaration.cc.
| Span< SocketDeclaration * > blender::nodes::NodeDeclaration::sockets | ( | eNodeSocketInOut | in_out | ) | const |
Definition at line 135 of file node_declaration.cc.
| VectorVector<ItemDeclarationPtr> blender::nodes::NodeDeclaration::all_items |
Contains all items including recursive children.
Definition at line 586 of file NOD_node_declaration.hh.
Usually output sockets come before input sockets currently. Only some specific nodes are exempt from that rule for now.
Definition at line 606 of file NOD_node_declaration.hh.
| std::unique_ptr<aal::RelationsInNode> blender::nodes::NodeDeclaration::anonymous_attribute_relations_ |
Definition at line 593 of file NOD_node_declaration.hh.
All input and output socket declarations.
Definition at line 590 of file NOD_node_declaration.hh.
Referenced by blender::compositor::input_descriptor_from_input_socket().
True if any context was used to build this declaration.
Definition at line 611 of file NOD_node_declaration.hh.
Definition at line 613 of file NOD_node_declaration.hh.
Definition at line 591 of file NOD_node_declaration.hh.
Definition at line 592 of file NOD_node_declaration.hh.
Contains only the items in the root.
Definition at line 588 of file NOD_node_declaration.hh.
Leave the sockets in place, even if they don't match the declaration. Used for dynamic declarations when the information used to build the declaration is missing, but might become available again in the future.
Definition at line 598 of file NOD_node_declaration.hh.
Use order of socket declarations for socket order instead of conventional outputs | buttons | inputs order. Panels are only supported when using custom socket order.
Definition at line 602 of file NOD_node_declaration.hh.