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

Stable identity of an audio flow: the glTF asset path plus the flow name (unique within the asset). Two handles are equal when both the path and the name match, so the same flow resolves to the same handle regardless of how often it was loaded. More...

#include <AudioFlow.h>

Collaboration diagram for Engine::Assets::AudioFlowHandle:

Public Member Functions

bool isValid () const noexcept
 operator bool () const noexcept

Public Attributes

std::filesystem::path path
 glTF asset path the flow belongs to.
std::string name
 Flow identity within the asset.

Detailed Description

Stable identity of an audio flow: the glTF asset path plus the flow name (unique within the asset). Two handles are equal when both the path and the name match, so the same flow resolves to the same handle regardless of how often it was loaded.

Definition at line 15 of file AudioFlow.h.

Member Function Documentation

◆ isValid()

bool Engine::Assets::AudioFlowHandle::isValid ( ) const
inlinenodiscardnoexcept

Definition at line 19 of file AudioFlow.h.

References name.

Referenced by operator bool().

Here is the caller graph for this function:

◆ operator bool()

Engine::Assets::AudioFlowHandle::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 20 of file AudioFlow.h.

References isValid().

Here is the call graph for this function:

Member Data Documentation

◆ name

std::string Engine::Assets::AudioFlowHandle::name

Flow identity within the asset.

Definition at line 17 of file AudioFlow.h.

Referenced by isValid().

◆ path

std::filesystem::path Engine::Assets::AudioFlowHandle::path

glTF asset path the flow belongs to.

Definition at line 16 of file AudioFlow.h.


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