Blender V4.3
BKE_scene_runtime.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_map.hh"
8#include "BLI_timeit.hh"
10
11struct Depsgraph;
12
13namespace blender::bke {
14
15/* Runtime data specific to the compositing trees. */
17 public:
18 /* Per-node instance total execution time for the corresponding node, during the last tree
19 * evaluation. */
21
22 /* A dependency graph used for interactive compositing. This is initialized the first time it is
23 * needed, and then kept persistent for the lifetime of the scene. This is done to allow the
24 * compositor to track changes to resources its uses as well as reduce the overhead of creating
25 * the dependency graph every time it executes. */
26 Depsgraph *preview_depsgraph = nullptr;
27
29};
30
35
36} // namespace blender::bke
Map< bNodeInstanceKey, timeit::Nanoseconds > per_node_execution_time