|
Blender V5.3
|
#include <NOD_node_in_compute_context.hh>
Public Member Functions | |
#NodeInContext Inline Methods | |
| uint64_t | hash () const |
| ComputeContextHash | context_hash () const |
| const bNode * | operator-> () const |
| const bNode & | operator* () const |
| operator bool () const | |
| SocketInContext | input_socket (int index) const |
| SocketInContext | output_socket (int index) const |
Public Attributes | |
| const ComputeContext * | context = nullptr |
| const bNode * | node = nullptr |
Friends | |
| bool | operator== (const NodeInContext &a, const NodeInContext &b) |
Utility struct to pair a node with a compute context. This uniquely identifies a node in an node-tree evaluation.
Definition at line 30 of file NOD_node_in_compute_context.hh.
|
inline |
Definition at line 102 of file NOD_node_in_compute_context.hh.
References context, and blender::ComputeContext::hash().
Referenced by hash(), and operator==.
|
inline |
Definition at line 97 of file NOD_node_in_compute_context.hh.
References context_hash(), blender::get_default_hash(), and node.
|
inline |
Definition at line 122 of file NOD_node_in_compute_context.hh.
Referenced by blender::nodes::find_origin_sockets_through_contexts().
|
inline |
Definition at line 117 of file NOD_node_in_compute_context.hh.
References node.
|
inline |
Definition at line 112 of file NOD_node_in_compute_context.hh.
References node.
|
inline |
Definition at line 107 of file NOD_node_in_compute_context.hh.
References node.
|
inline |
Definition at line 127 of file NOD_node_in_compute_context.hh.
Referenced by blender::nodes::find_target_sockets_through_contexts().
|
friend |
Two nodes in context compare equal if their context hash is equal, not the pointer to the context. This is important as the same compute context may be constructed multiple times.
Definition at line 47 of file NOD_node_in_compute_context.hh.
References b, context_hash(), and node.
| const ComputeContext* blender::nodes::NodeInContext::context = nullptr |
Definition at line 31 of file NOD_node_in_compute_context.hh.
Referenced by blender::nodes::inverse_eval::backpropagate_socket_values_through_node(), context_hash(), blender::nodes::partial_eval::eval_downstream(), blender::nodes::partial_eval::eval_upstream(), blender::nodes::inverse_eval::evaluate_node_elem_downstream_filtered(), blender::nodes::inverse_eval::evaluate_node_elem_upstream(), input_socket(), blender::nodes::partial_eval::NodeInContextDownstreamComparator::operator()(), blender::nodes::partial_eval::NodeInContextUpstreamComparator::operator()(), and output_socket().
Definition at line 32 of file NOD_node_in_compute_context.hh.
Referenced by blender::nodes::inverse_eval::backpropagate_socket_values(), blender::nodes::inverse_eval::backpropagate_socket_values_through_node(), blender::nodes::partial_eval::eval_downstream(), blender::nodes::partial_eval::eval_upstream(), blender::nodes::inverse_eval::evaluate_node_elem_downstream_filtered(), blender::nodes::inverse_eval::evaluate_node_elem_upstream(), blender::nodes::find_origin_sockets_through_contexts(), blender::nodes::inverse_eval::get_input_elems_to_propagate(), hash(), input_socket(), operator bool(), blender::nodes::partial_eval::NodeInContextDownstreamComparator::operator()(), blender::nodes::partial_eval::NodeInContextUpstreamComparator::operator()(), operator*(), operator->(), operator==, and output_socket().