Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::AudioFlowLoader Class Reference

Imports audio flows from an exported glTF asset. More...

#include <AudioFlowLoader.h>

Static Public Member Functions

static size_t loadFromGltf (const std::filesystem::path &gltfPath, AudioFlowStore &store)
 Load every flow declared by a glTF's scene extension.

Detailed Description

Imports audio flows from an exported glTF asset.

Reads the scene-level VULKAN_SCHNEE_audio_flows extension (a list of bank-form flow documents) and registers each flow into an AudioFlowStore keyed by (glTF path, flow name). Bank wavs are resolved against the glTF's directory when flows are later built for playback.

Definition at line 17 of file AudioFlowLoader.h.

Member Function Documentation

◆ loadFromGltf()

size_t Engine::Assets::AudioFlowLoader::loadFromGltf ( const std::filesystem::path & gltfPath,
AudioFlowStore & store )
static

Load every flow declared by a glTF's scene extension.

Parameters
gltfPathPath to a .gltf file (JSON form).
storeStore to register the flows into.
Returns
The number of flows registered.

The documentation for this class was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Audio/AudioFlowLoader.h