Blender V4.3
deg_eval_runtime_backup_sound.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 bSound;
12
13namespace blender::deg {
14
15struct Depsgraph;
16
17/* Backup of sound datablocks runtime data. */
19 public:
21
22 void reset();
23
24 void init_from_sound(bSound *sound);
25 void restore_to_sound(bSound *sound);
26
27 void *cache;
28 void *waveform;
30};
31
32} // namespace blender::deg
SoundBackup(const Depsgraph *depsgraph)
const Depsgraph * depsgraph