Jazz2::Resources::SoundResource struct

Specific sound resource (from metadata).

A named sound declared in an object's metadata, holding the list of shared GenericSoundResource buffers it can use. When the sound has several variants, one of the buffers is chosen at playback time. Stored in a Metadata keyed by the sound's name.

Constructors, destructors, conversion operators

SoundResource() noexcept
Creates a new instance.

Public variables

SmallVector<GenericSoundResource*, 1> Buffers
List of underlying generic resources.