Blender
V4.3
source
blender
depsgraph
intern
eval
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
11
struct
bSound
;
12
13
namespace
blender::deg
{
14
15
struct
Depsgraph;
16
17
/* Backup of sound datablocks runtime data. */
18
class
SoundBackup
{
19
public
:
20
SoundBackup
(
const
Depsgraph
*
depsgraph
);
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
;
29
void
*
playback_handle
;
30
};
31
32
}
// namespace blender::deg
blender::deg::SoundBackup
Definition
deg_eval_runtime_backup_sound.h:18
blender::deg::SoundBackup::waveform
void * waveform
Definition
deg_eval_runtime_backup_sound.h:28
blender::deg::SoundBackup::SoundBackup
SoundBackup(const Depsgraph *depsgraph)
Definition
deg_eval_runtime_backup_sound.cc:17
blender::deg::SoundBackup::init_from_sound
void init_from_sound(bSound *sound)
Definition
deg_eval_runtime_backup_sound.cc:29
blender::deg::SoundBackup::restore_to_sound
void restore_to_sound(bSound *sound)
Definition
deg_eval_runtime_backup_sound.cc:40
blender::deg::SoundBackup::reset
void reset()
Definition
deg_eval_runtime_backup_sound.cc:22
blender::deg::SoundBackup::cache
void * cache
Definition
deg_eval_runtime_backup_sound.h:27
blender::deg::SoundBackup::playback_handle
void * playback_handle
Definition
deg_eval_runtime_backup_sound.h:29
depsgraph
const Depsgraph * depsgraph
Definition
deg_eval_copy_on_write.cc:494
blender::deg
Definition
DEG_depsgraph_light_linking.hh:18
bSound
Definition
DNA_sound_types.h:16
blender::deg::Depsgraph
Definition
depsgraph.hh:47
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0