Blender
V4.3
source
blender
compositor
realtime_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::realtime_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::realtime_compositor
BLI_vector_set.hh
COM_context.hh
NOD_derived_node_tree.hh
blender::VectorSet< DNode >
blender::realtime_compositor::Context
Definition
COM_context.hh:37
tree
KDTree_3d * tree
Definition
editors/mesh/mesh_mirror.cc:30
blender::realtime_compositor
Definition
BKE_node.hh:80
blender::realtime_compositor::compute_schedule
Schedule compute_schedule(const Context &context, const DerivedNodeTree &tree)
Definition
scheduler.cc:279
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0