Blender
V3.3
|
Public Member Functions | |
uint64_t | hash () const |
Static Public Member Functions | |
static uint64_t | hash_as (const DNode &node) |
Public Attributes | |
DNode | node |
NodeState * | state = nullptr |
Friends | |
bool | operator== (const NodeWithState &a, const NodeWithState &b) |
bool | operator== (const NodeWithState &a, const DNode &b) |
bool | operator== (const DNode &a, const NodeWithState &b) |
Container for a node and its state. Packing them into a single struct allows the use of VectorSet
instead of a Map
for node_states_
which simplifies parallel loops over all states.
Equality operators and a hash function for DNode
are provided so that one can lookup this type in node_states_
just with a DNode
.
Definition at line 260 of file MOD_nodes_evaluator.cc.
|
inline |
Definition at line 280 of file MOD_nodes_evaluator.cc.
References node.
|
inlinestatic |
Definition at line 285 of file MOD_nodes_evaluator.cc.
References node.
|
friend |
Definition at line 275 of file MOD_nodes_evaluator.cc.
|
friend |
Definition at line 270 of file MOD_nodes_evaluator.cc.
|
friend |
Definition at line 265 of file MOD_nodes_evaluator.cc.
DNode blender::modifiers::geometry_nodes::NodeWithState::node |
Definition at line 261 of file MOD_nodes_evaluator.cc.
Referenced by blender::modifiers::geometry_nodes::GeometryNodesEvaluator::run_node_from_task_pool().
NodeState* blender::modifiers::geometry_nodes::NodeWithState::state = nullptr |
Definition at line 263 of file MOD_nodes_evaluator.cc.
Referenced by blender::modifiers::geometry_nodes::GeometryNodesEvaluator::should_forward_to_socket().