blob: bc263cc58f856dd6b3122061299a38ffc4316572 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2019 Blender Foundation. All rights reserved. */
/** \file
* \ingroup depsgraph
*/
#pragma once
struct Volume;
struct VolumeGridVector;
namespace blender {
namespace deg {
struct Depsgraph;
/* Backup of volume datablocks runtime data. */
class VolumeBackup {
public:
VolumeBackup(const Depsgraph *depsgraph);
void init_from_volume(Volume *volume);
void restore_to_volume(Volume *volume);
VolumeGridVector *grids;
char filepath[1024]; /* FILE_MAX */
};
} // namespace deg
} // namespace blender
|