Blender V5.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
8
9#pragma once
10
11#include <memory>
12
13#include "BKE_compositor.hh"
14#include "BKE_sound_types.hh"
15
16#include "BLI_set.hh"
17#include "BLI_utility_mixins.hh"
18
19namespace blender {
20
21struct Depsgraph;
22
23namespace nodes::eval_log {
24class NodesEvalLog;
25} // namespace nodes::eval_log
26
27namespace bke {
28
29/* Runtime data specific to the compositing trees. */
31 public:
32 /* A nodes log of the last compositor evaluation. */
33 std::unique_ptr<nodes::eval_log::NodesEvalLog> nodes_evaluation_log;
34 /* Cached data for the interactive compositor. */
36 /* A dependency graph used for interactive compositing. This is initialized the first time it is
37 * needed, and then kept persistent for the lifetime of the scene. This is done to allow the
38 * compositor to track changes to resources its uses as well as reduce the overhead of creating
39 * the dependency graph every time it executes. */
40 Depsgraph *preview_depsgraph = nullptr;
41
43};
44
45/* Runtime data specific to the sequencer, e.g. when using scene strips. */
47 public:
48 Depsgraph *depsgraph = nullptr;
49
51};
52
53/* Audio runtime data. */
60
67
68} // namespace bke
69} // namespace blender
std::shared_ptr< void > AUD_Sequence
std::shared_ptr< void > AUD_Handle
std::unique_ptr< nodes::eval_log::NodesEvalLog > nodes_evaluation_log
NonCopyable(const NonCopyable &other)=delete
NonMovable(NonMovable &&other)=delete
BMesh Iterators.
Set< AUD_SequenceEntry > speaker_handles