![]() |
FastEngine 0.9.4
A multiplayer oriented 2D engine made with Vulkan.
|
This class is a wrapper for the audio manager to allow easy manipulation. More...
#include <C_soundBuffer.hpp>
Public Types | |
| using | SharedDataType |
| using | SharedType |
Public Member Functions | |
| virtual void | clear () |
| Clear the resource. | |
| void | reload () |
| Reload the cached resource from the same name. | |
| bool | valid () const |
| Check if the font is valid (not unloaded) | |
| SharedDataType const & | getSharedBlock () const |
| Get the resource block data. | |
| SharedType const & | getSharedData () const |
| Get the shared resource data. | |
| std::string const & | getName () const |
| Get the name of the resource. | |
| manager::GlobalDataAccessorManagerInfo< audio::AudioManager, &audio::gManager >::Manager::DataType * | retrieve () |
| Retrieve the raw shared pointer from the current resource. | |
| manager::GlobalDataAccessorManagerInfo< audio::AudioManager, &audio::gManager >::Manager::DataType * | retrieveValid () |
| Retrieve the raw shared pointer from the current resource only if the resource is valid. | |
This class is a wrapper for the audio manager to allow easy manipulation.
|
virtualinherited |
Clear the resource.
This method clear the resource by setting it to the default/bad "valid" resource.
|
nodiscardinherited |
Get the name of the resource.
|
nodiscardinherited |
Get the resource block data.
|
nodiscardinherited |
Get the shared resource data.
|
inherited |
Reload the cached resource from the same name.
|
nodiscardinherited |
Retrieve the raw shared pointer from the current resource.
|
nodiscardinherited |
Retrieve the raw shared pointer from the current resource only if the resource is valid.
|
nodiscardinherited |
Check if the font is valid (not unloaded)