blob: 60cba64f1203f03e589d67f4f8cb1cb16596515c (
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
|
/* 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::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 blender::deg
|