Blender V5.0
blender::nodes::materialx::NodeGraph::NodeKey Struct Reference

#include <node_graph.h>

Public Member Functions

uint64_t hash () const
bool operator== (const NodeKey &other) const

Public Attributes

const bNodenode
std::string socket_name
NodeItem::Type to_type
MaterialX::GraphElement * graph_element

Detailed Description

Definition at line 52 of file node_graph.h.

Member Function Documentation

◆ hash()

uint64_t blender::nodes::materialx::NodeGraph::NodeKey::hash ( ) const

Definition at line 39 of file node_graph.cc.

References blender::get_default_hash(), graph_element, node, socket_name, and to_type.

◆ operator==()

bool blender::nodes::materialx::NodeGraph::NodeKey::operator== ( const NodeKey & other) const

Definition at line 44 of file node_graph.cc.

References graph_element, node, socket_name, and to_type.

Member Data Documentation

◆ graph_element

MaterialX::GraphElement* blender::nodes::materialx::NodeGraph::NodeKey::graph_element

Definition at line 56 of file node_graph.h.

Referenced by hash(), and operator==().

◆ node

const bNode* blender::nodes::materialx::NodeGraph::NodeKey::node

Definition at line 53 of file node_graph.h.

Referenced by hash(), and operator==().

◆ socket_name

std::string blender::nodes::materialx::NodeGraph::NodeKey::socket_name

Definition at line 54 of file node_graph.h.

Referenced by hash(), and operator==().

◆ to_type

NodeItem::Type blender::nodes::materialx::NodeGraph::NodeKey::to_type

Definition at line 55 of file node_graph.h.

Referenced by hash(), and operator==().


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