Blender V4.3
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
11struct Volume;
12struct VolumeGridVector;
13
14namespace blender::deg {
15
16struct Depsgraph;
17
18/* Backup of volume datablocks runtime data. */
20 public:
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
VolumeBackup(const Depsgraph *depsgraph)
const Depsgraph * depsgraph