Blender
V5.0
source
blender
depsgraph
intern
eval
deg_eval_runtime_backup_volume.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
struct
Volume
;
12
struct
VolumeGridVector;
13
14
namespace
blender::deg
{
15
16
struct
Depsgraph
;
17
18
/* Backup of volume datablocks runtime data. */
19
class
VolumeBackup
{
20
public
:
21
VolumeBackup
(
const
Depsgraph
*
depsgraph
);
22
23
void
init_from_volume
(
Volume
*volume);
24
void
restore_to_volume
(
Volume
*volume);
25
26
VolumeGridVector *
grids
;
27
char
filepath
[
/*FILE_MAX*/
1024];
28
};
29
30
}
// namespace blender::deg
depsgraph
BPy_StructRNA * depsgraph
Definition
bpy_driver.cc:173
blender::deg::VolumeBackup::restore_to_volume
void restore_to_volume(Volume *volume)
Definition
deg_eval_runtime_backup_volume.cc:32
blender::deg::VolumeBackup::grids
VolumeGridVector * grids
Definition
deg_eval_runtime_backup_volume.h:26
blender::deg::VolumeBackup::VolumeBackup
VolumeBackup(const Depsgraph *depsgraph)
Definition
deg_eval_runtime_backup_volume.cc:20
blender::deg::VolumeBackup::init_from_volume
void init_from_volume(Volume *volume)
Definition
deg_eval_runtime_backup_volume.cc:22
blender::deg::VolumeBackup::filepath
char filepath[1024]
Definition
deg_eval_runtime_backup_volume.h:27
blender::deg
Definition
DEG_depsgraph_light_linking.hh:14
Volume
Definition
DNA_volume_types.h:42
blender::deg::Depsgraph
Definition
depsgraph.hh:48
Generated on
for Blender by
doxygen
1.16.1