Blender V5.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
8
9#pragma once
10
11namespace blender {
12
13struct Volume;
14struct VolumeGridVector;
15
16namespace deg {
17
18struct Depsgraph;
19
20/* Backup of volume datablocks runtime data. */
22 public:
23 VolumeBackup(const Depsgraph *depsgraph);
24
25 void init_from_volume(Volume *volume);
26 void restore_to_volume(Volume *volume);
27
28 VolumeGridVector *grids;
29 char filepath[/*FILE_MAX*/ 1024];
30};
31
32} // namespace deg
33} // namespace blender
VolumeBackup(const Depsgraph *depsgraph)
BMesh Iterators.