Blender
V5.0
source
blender
compositor
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
9
#include "
NOD_derived_node_tree.hh
"
10
11
#include "
COM_context.hh
"
12
13
namespace
blender::compositor
{
14
15
using namespace
nodes::derived_node_tree_types;
16
17
/* A type representing the ordered set of nodes defining the schedule of node execution. */
18
using
Schedule
=
VectorSet<DNode>
;
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. */
23
Schedule
compute_schedule
(
const
Context
&context,
const
DerivedNodeTree
&
tree
);
24
25
}
// namespace blender::compositor
BLI_vector_set.hh
COM_context.hh
NOD_derived_node_tree.hh
blender::VectorSet
Definition
BLI_vector_set.hh:92
blender::compositor::Context
Definition
COM_context.hh:44
blender::nodes::DerivedNodeTree
Definition
NOD_derived_node_tree.hh:179
tree
KDTree_3d * tree
Definition
editors/mesh/mesh_mirror.cc:30
blender::compositor
Definition
BKE_node.hh:77
blender::compositor::Schedule
VectorSet< DNode > Schedule
Definition
COM_scheduler.hh:18
blender::compositor::compute_schedule
Schedule compute_schedule(const Context &context, const DerivedNodeTree &tree)
Definition
scheduler.cc:315
Generated on
for Blender by
doxygen
1.16.1