Sound Descriptor meant to be used with AssetManager only.
More...
#include <Sound.hpp>
|
| constexpr | Descriptor (std::string name, std::filesystem::path path, const bool preDecode=true) noexcept |
| | Constructs a descriptor.
|
| uint32_t | GetRuntimeID () const |
| constexpr bool | operator== (const Descriptor &other) const noexcept |
Sound Descriptor meant to be used with AssetManager only.
Definition at line 17 of file Sound.hpp.
◆ AssetType
◆ Descriptor()
| Cori::Audio::Sound::Descriptor::Descriptor |
( |
std::string | name, |
|
|
std::filesystem::path | path, |
|
|
const bool | preDecode = true ) |
|
inlineconstexprnoexcept |
Constructs a descriptor.
- Parameters
-
| name | Name to be assigned to the Sound. |
| path | Path to the audio asset. |
| preDecode | Whether to precede the audio or no. Generally you want to leave it at default. |
Definition at line 25 of file Sound.hpp.
◆ GetRuntimeID()
| uint32_t Cori::Audio::Sound::Descriptor::GetRuntimeID |
( |
| ) |
const |
|
inlinenodiscard |
◆ operator==()
| bool Cori::Audio::Sound::Descriptor::operator== |
( |
const Descriptor & | other | ) |
const |
|
inlineconstexprnoexcept |
◆ m_Name
| const std::string Cori::Audio::Sound::Descriptor::m_Name |
◆ m_Path
| const std::filesystem::path Cori::Audio::Sound::Descriptor::m_Path |
◆ m_PreDecode
| const bool Cori::Audio::Sound::Descriptor::m_PreDecode |
The documentation for this class was generated from the following file: