Blender
V4.3
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
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
[1024];
/* FILE_MAX */
28
};
29
30
}
// namespace blender::deg
blender::deg::VolumeBackup
Definition
deg_eval_runtime_backup_volume.h:19
blender::deg::VolumeBackup::restore_to_volume
void restore_to_volume(Volume *volume)
Definition
deg_eval_runtime_backup_volume.cc:35
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:23
blender::deg::VolumeBackup::init_from_volume
void init_from_volume(Volume *volume)
Definition
deg_eval_runtime_backup_volume.cc:25
blender::deg::VolumeBackup::filepath
char filepath[1024]
Definition
deg_eval_runtime_backup_volume.h:27
depsgraph
const Depsgraph * depsgraph
Definition
deg_eval_copy_on_write.cc:494
blender::deg
Definition
DEG_depsgraph_light_linking.hh:18
Volume
Definition
DNA_volume_types.h:42
blender::deg::Depsgraph
Definition
depsgraph.hh:47
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0