Blender V5.3
deg_eval_runtime_backup_scene.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "BKE_scene_runtime.hh"
12
14
15namespace blender {
16
17struct Scene;
18
19namespace deg {
20
21struct Depsgraph;
22
23/* Backup of scene runtime data. */
25 public:
26 SceneBackup(const Depsgraph *depsgraph);
27
28 void reset();
29
30 void init_from_scene(Scene *scene);
31 void restore_to_scene(Scene *scene);
32
36};
37
38} // namespace deg
39} // namespace blender
SceneBackup(const Depsgraph *depsgraph)
BMesh Iterators.