Blender  V2.93
Public Member Functions | Friends | List of all members
NodeTreeEvaluationContext Class Reference

#include <BKE_node_ui_storage.hh>

Public Member Functions

 NodeTreeEvaluationContext (const Object &object, const ModifierData &modifier)
 
uint64_t hash () const
 

Friends

bool operator== (const NodeTreeEvaluationContext &a, const NodeTreeEvaluationContext &b)
 

Detailed Description

Contains the context necessary to determine when to display settings for a certain node tree that may be used for multiple modifiers and objects. The object name and modifier session UUID are used instead of pointers because they are re-allocated between evaluations.

Note
This does not yet handle the context of nested node trees.

Definition at line 46 of file BKE_node_ui_storage.hh.

Constructor & Destructor Documentation

◆ NodeTreeEvaluationContext()

NodeTreeEvaluationContext::NodeTreeEvaluationContext ( const Object object,
const ModifierData modifier 
)
inline

Definition at line 52 of file BKE_node_ui_storage.hh.

References ModifierData::session_uuid.

Member Function Documentation

◆ hash()

uint64_t NodeTreeEvaluationContext::hash ( ) const
inline

Definition at line 58 of file BKE_node_ui_storage.hh.

References blender::get_default_hash_2().

Friends And Related Function Documentation

◆ operator==

bool operator== ( const NodeTreeEvaluationContext a,
const NodeTreeEvaluationContext b 
)
friend

Definition at line 63 of file BKE_node_ui_storage.hh.


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