Blender
V3.3
source
blender
depsgraph
intern
eval
deg_eval_runtime_backup_volume.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later
2
* Copyright 2019 Blender Foundation. All rights reserved. */
3
8
#pragma once
9
10
struct
Volume
;
11
struct
VolumeGridVector;
12
13
namespace
blender::deg
{
14
15
struct
Depsgraph
;
16
17
/* Backup of volume datablocks runtime data. */
18
class
VolumeBackup
{
19
public
:
20
VolumeBackup
(
const
Depsgraph
*
depsgraph
);
21
22
void
init_from_volume
(
Volume
*volume);
23
void
restore_to_volume
(
Volume
*volume);
24
25
VolumeGridVector *
grids
;
26
char
filepath
[1024];
/* FILE_MAX */
27
};
28
29
}
// namespace blender::deg
Depsgraph
struct Depsgraph Depsgraph
Definition:
DEG_depsgraph.h:35
blender::deg::VolumeBackup
Definition:
deg_eval_runtime_backup_volume.h:18
blender::deg::VolumeBackup::restore_to_volume
void restore_to_volume(Volume *volume)
Definition:
deg_eval_runtime_backup_volume.cc:36
blender::deg::VolumeBackup::grids
VolumeGridVector * grids
Definition:
deg_eval_runtime_backup_volume.h:25
blender::deg::VolumeBackup::VolumeBackup
VolumeBackup(const Depsgraph *depsgraph)
Definition:
deg_eval_runtime_backup_volume.cc:22
blender::deg::VolumeBackup::init_from_volume
void init_from_volume(Volume *volume)
Definition:
deg_eval_runtime_backup_volume.cc:26
blender::deg::VolumeBackup::filepath
char filepath[1024]
Definition:
deg_eval_runtime_backup_volume.h:26
depsgraph
const Depsgraph * depsgraph
Definition:
deg_eval_copy_on_write.cc:499
blender::deg
Definition:
deg_builder.cc:40
Volume
Definition:
DNA_volume_types.h:52
blender::deg::Depsgraph
Definition:
depsgraph.h:43
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1