Blender V4.3
COM_scheduler.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_vector_set.hh"
8
10
11#include "COM_context.hh"
12
14
15using namespace nodes::derived_node_tree_types;
16
17/* A type representing the ordered set of nodes defining the schedule of node execution. */
19
20/* Computes the execution schedule of the node tree. This is essentially a post-order depth first
21 * traversal of the node tree from the output node to the leaf input nodes, with informed order of
22 * traversal of dependencies based on a heuristic estimation of the number of needed buffers. */
23Schedule compute_schedule(const Context &context, const DerivedNodeTree &tree);
24
25} // namespace blender::realtime_compositor
KDTree_3d * tree
Schedule compute_schedule(const Context &context, const DerivedNodeTree &tree)
Definition scheduler.cc:279