Standard implementation of the sound shader manager. More...
#include "SoundShaderManagerImpl.hpp"
Public Member Functions | |
SoundShaderManagerImplT () | |
Constructor. More... | |
~SoundShaderManagerImplT () | |
Destructor. More... | |
ArrayT< const SoundShaderT * > | RegisterSoundShaderScript (const std::string &ScriptFile, const std::string &ModDir) |
SoundShaderManagerI Implementation. More... | |
ArrayT< const SoundShaderT * > | RegisterSoundShaderScriptsInDir (const std::string &Directory, const std::string &ModDir, bool Recurse=true) |
Registers all ".caud" files inside a directory. More... | |
const SoundShaderT * | GetSoundShader (const std::string &Name) |
Searches for the shader specified by Name and returns it. More... | |
![]() | |
virtual | ~SoundShaderManagerI () |
Virtual destructor, so that nothing can go wrong and even g++ is happy. More... | |
Standard implementation of the sound shader manager.
SoundShaderManagerImplT::SoundShaderManagerImplT | ( | ) |
Constructor.
SoundShaderManagerImplT::~SoundShaderManagerImplT | ( | ) |
Destructor.
|
virtual |
Searches for the shader specified by Name and returns it.
Name | The name of this sound shader as it is defined in the sound shader script. If no sound shader by this name is found the manager tries to interpret the Name as a filename to an audio file and automatically creates a default shader for it. |
Implements SoundShaderManagerI.
|
virtual |
SoundShaderManagerI Implementation.
Implements SoundShaderManagerI.
|
virtual |
Registers all ".caud" files inside a directory.
Directory | The path from which sound shader script files should be registered. |
ModDir | The directory of the MOD for which the sound shader script in this directory are registered relative to the executables directory. |
Recurse | Determines if subdirectories are searched for ".caud" files recusively. |
Implements SoundShaderManagerI.