Blender
V4.3
source
blender
blenkernel
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
"
9
#include "
BLI_utility_mixins.hh
"
10
11
struct
Depsgraph;
12
13
namespace
blender::bke
{
14
15
/* Runtime data specific to the compositing trees. */
16
class
CompositorRuntime
{
17
public
:
18
/* Per-node instance total execution time for the corresponding node, during the last tree
19
* evaluation. */
20
Map<bNodeInstanceKey, timeit::Nanoseconds>
per_node_execution_time
;
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
28
~CompositorRuntime
();
29
};
30
31
class
SceneRuntime
:
NonCopyable
,
NonMovable
{
32
public
:
33
CompositorRuntime
compositor
;
34
};
35
36
}
// namespace blender::bke
BLI_map.hh
BLI_timeit.hh
BLI_utility_mixins.hh
blender::Map
Definition
BLI_map.hh:129
blender::NonCopyable
Definition
BLI_utility_mixins.hh:16
blender::NonMovable
Definition
BLI_utility_mixins.hh:31
blender::bke::CompositorRuntime
Definition
BKE_scene_runtime.hh:16
blender::bke::CompositorRuntime::preview_depsgraph
Depsgraph * preview_depsgraph
Definition
BKE_scene_runtime.hh:26
blender::bke::CompositorRuntime::per_node_execution_time
Map< bNodeInstanceKey, timeit::Nanoseconds > per_node_execution_time
Definition
BKE_scene_runtime.hh:20
blender::bke::CompositorRuntime::~CompositorRuntime
~CompositorRuntime()
Definition
scene.cc:113
blender::bke::SceneRuntime
Definition
BKE_scene_runtime.hh:31
blender::bke::SceneRuntime::compositor
CompositorRuntime compositor
Definition
BKE_scene_runtime.hh:33
blender::bke
Definition
AS_asset_library.hh:26
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0