Blender
V3.3
source
blender
depsgraph
intern
eval
deg_eval_runtime_backup_sound.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later
2
* Copyright 2019 Blender Foundation. All rights reserved. */
3
8
#pragma once
9
10
struct
bSound
;
11
12
namespace
blender::deg
{
13
14
struct
Depsgraph
;
15
16
/* Backup of sound datablocks runtime data. */
17
class
SoundBackup
{
18
public
:
19
SoundBackup
(
const
Depsgraph
*
depsgraph
);
20
21
void
reset
();
22
23
void
init_from_sound
(
bSound
*sound);
24
void
restore_to_sound
(
bSound
*sound);
25
26
void
*
cache
;
27
void
*
waveform
;
28
void
*
playback_handle
;
29
};
30
31
}
// namespace blender::deg
Depsgraph
struct Depsgraph Depsgraph
Definition:
DEG_depsgraph.h:35
blender::deg::SoundBackup
Definition:
deg_eval_runtime_backup_sound.h:17
blender::deg::SoundBackup::waveform
void * waveform
Definition:
deg_eval_runtime_backup_sound.h:27
blender::deg::SoundBackup::SoundBackup
SoundBackup(const Depsgraph *depsgraph)
Definition:
deg_eval_runtime_backup_sound.cc:16
blender::deg::SoundBackup::init_from_sound
void init_from_sound(bSound *sound)
Definition:
deg_eval_runtime_backup_sound.cc:28
blender::deg::SoundBackup::restore_to_sound
void restore_to_sound(bSound *sound)
Definition:
deg_eval_runtime_backup_sound.cc:39
blender::deg::SoundBackup::reset
void reset()
Definition:
deg_eval_runtime_backup_sound.cc:21
blender::deg::SoundBackup::cache
void * cache
Definition:
deg_eval_runtime_backup_sound.h:26
blender::deg::SoundBackup::playback_handle
void * playback_handle
Definition:
deg_eval_runtime_backup_sound.h:28
depsgraph
const Depsgraph * depsgraph
Definition:
deg_eval_copy_on_write.cc:499
blender::deg
Definition:
deg_builder.cc:40
bSound
Definition:
DNA_sound_types.h:19
blender::deg::Depsgraph
Definition:
depsgraph.h:43
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1