/* SPDX-License-Identifier: GPL-2.0-or-later * Copyright 2019 Blender Foundation. All rights reserved. */ /** \file * \ingroup depsgraph */ #pragma once struct MovieClip; struct MovieClipCache; struct anim; namespace blender::deg { struct Depsgraph; /* Backup of movie clip runtime data. */ class MovieClipBackup { public: MovieClipBackup(const Depsgraph *depsgraph); void reset(); void init_from_movieclip(MovieClip *movieclip); void restore_to_movieclip(MovieClip *movieclip); struct anim *anim; struct MovieClipCache *cache; }; } // namespace blender::deg