Skip to main content

rememberSoundBank

Function rememberSoundBank 

Source
pub fn rememberSoundBank(__arg0: &[SoundSpec<'_>]) -> SoundBank
Expand description

Loads a set of cues once and keeps them alive across recompositions.

The bank is rebuilt only when the spec list changes shape (its length or the set of names), which is the remember(key) contract applied to a resource that costs a decode.