Blender V4.3
partial_eval.cc File Reference
#include <queue>
#include "NOD_partial_eval.hh"
#include "BKE_compute_contexts.hh"
#include "BKE_node.hh"
#include "BKE_node_runtime.hh"

Go to the source code of this file.

Classes

struct  blender::nodes::partial_eval::NodeInContextUpstreamComparator
 
struct  blender::nodes::partial_eval::NodeInContextDownstreamComparator
 

Namespaces

namespace  blender
 
namespace  blender::nodes
 
namespace  blender::nodes::partial_eval
 

Functions

bool blender::nodes::partial_eval::is_supported_value_node (const bNode &node)
 
static Vector< intblender::nodes::partial_eval::get_global_node_sort_vector_right_to_left (const ComputeContext *initial_context, const bNode &initial_node)
 
static Vector< intblender::nodes::partial_eval::get_global_node_sort_vector_left_to_right (const ComputeContext *initial_context, const bNode &initial_node)
 
void blender::nodes::partial_eval::eval_downstream (const Span< SocketInContext > initial_sockets, ResourceScope &scope, FunctionRef< void(const NodeInContext &ctx_node, Vector< const bNodeSocket * > &r_outputs_to_propagate)> evaluate_node_fn, FunctionRef< bool(const SocketInContext &ctx_from, const SocketInContext &ctx_to)> propagate_value_fn)
 
UpstreamEvalTargets blender::nodes::partial_eval::eval_upstream (const Span< SocketInContext > initial_sockets, ResourceScope &scope, FunctionRef< void(const NodeInContext &ctx_node, Vector< const bNodeSocket * > &r_modified_inputs)> evaluate_node_fn, FunctionRef< bool(const SocketInContext &ctx_from, const SocketInContext &ctx_to)> propagate_value_fn, FunctionRef< void(const NodeInContext &ctx_node, Vector< const bNodeSocket * > &r_sockets)> get_inputs_to_propagate_fn)