Blender V5.0
blender::deg::IDNode::ComponentIDKey Struct Reference

#include <deg_node_id.hh>

Public Member Functions

 ComponentIDKey (NodeType type, StringRef name="")
 BLI_STRUCT_EQUALITY_OPERATORS_2 (ComponentIDKey, type, name)
uint64_t hash () const

Public Attributes

NodeType type
StringRef name

Detailed Description

Definition at line 40 of file deg_node_id.hh.

Constructor & Destructor Documentation

◆ ComponentIDKey()

blender::deg::IDNode::ComponentIDKey::ComponentIDKey ( NodeType type,
StringRef name = "" )
inline

Definition at line 45 of file deg_node_id.hh.

References name, and type.

Referenced by BLI_STRUCT_EQUALITY_OPERATORS_2().

Member Function Documentation

◆ BLI_STRUCT_EQUALITY_OPERATORS_2()

blender::deg::IDNode::ComponentIDKey::BLI_STRUCT_EQUALITY_OPERATORS_2 ( ComponentIDKey ,
type ,
name  )

References ComponentIDKey(), name, and type.

◆ hash()

uint64_t blender::deg::IDNode::ComponentIDKey::hash ( ) const
inline

Definition at line 47 of file deg_node_id.hh.

References blender::get_default_hash(), name, and type.

Member Data Documentation

◆ name

StringRef blender::deg::IDNode::ComponentIDKey::name

Definition at line 43 of file deg_node_id.hh.

Referenced by BLI_STRUCT_EQUALITY_OPERATORS_2(), ComponentIDKey(), and hash().

◆ type

NodeType blender::deg::IDNode::ComponentIDKey::type

Definition at line 42 of file deg_node_id.hh.

Referenced by BLI_STRUCT_EQUALITY_OPERATORS_2(), ComponentIDKey(), and hash().


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