/* 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