Blender
V2.93
source
blender
depsgraph
intern
eval
deg_eval_runtime_backup_sequencer.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*
16
* The Original Code is Copyright (C) 2019 Blender Foundation.
17
* All rights reserved.
18
*/
19
24
#pragma once
25
26
#include "
DNA_session_uuid_types.h
"
27
28
#include "
BLI_session_uuid.h
"
29
30
#include "
intern/depsgraph_type.h
"
31
#include "
intern/eval/deg_eval_runtime_backup_sequence.h
"
32
33
struct
Scene
;
34
35
namespace
blender
{
36
namespace
deg
{
37
38
struct
Depsgraph
;
39
40
/* Backup of sequencer strips runtime data. */
41
class
SequencerBackup
{
42
public
:
43
SequencerBackup
(
const
Depsgraph
*
depsgraph
);
44
45
void
init_from_scene
(
Scene
*
scene
);
46
void
restore_to_scene
(
Scene
*
scene
);
47
48
const
Depsgraph
*
depsgraph
;
49
50
Map<SessionUUID, SequenceBackup>
sequences_backup
;
51
};
52
53
}
// namespace deg
54
}
// namespace blender
BLI_session_uuid.h
Depsgraph
struct Depsgraph Depsgraph
Definition:
DEG_depsgraph.h:51
DNA_session_uuid_types.h
blender::Map
Definition:
BLI_map.hh:122
blender::deg::SequencerBackup
Definition:
deg_eval_runtime_backup_sequencer.h:41
blender::deg::SequencerBackup::SequencerBackup
SequencerBackup(const Depsgraph *depsgraph)
Definition:
deg_eval_runtime_backup_sequencer.cc:37
blender::deg::SequencerBackup::depsgraph
const Depsgraph * depsgraph
Definition:
deg_eval_runtime_backup_sequencer.h:48
blender::deg::SequencerBackup::sequences_backup
Map< SessionUUID, SequenceBackup > sequences_backup
Definition:
deg_eval_runtime_backup_sequencer.h:50
blender::deg::SequencerBackup::init_from_scene
void init_from_scene(Scene *scene)
Definition:
deg_eval_runtime_backup_sequencer.cc:41
blender::deg::SequencerBackup::restore_to_scene
void restore_to_scene(Scene *scene)
Definition:
deg_eval_runtime_backup_sequencer.cc:56
scene
Scene scene
Definition:
deg_eval_copy_on_write.cc:120
deg_eval_runtime_backup_sequence.h
depsgraph_type.h
blender::deg
Definition:
deg_builder.cc:53
blender
Definition:
BKE_attribute_access.hh:30
Scene
Definition:
DNA_scene_types.h:1684
blender::deg::Depsgraph
Definition:
depsgraph.h:60
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1