le2d v0.4.7
2D game engine framework
 
Loading...
Searching...
No Matches
le::AudioBufferLoader Class Reference

#include <le2d/asset/asset_type_loaders.hpp>

Inheritance diagram for le::AudioBufferLoader:
le::IAssetTypeLoaderCommon< IAudioBuffer > le::IAssetTypeLoader< AssetTypeT > le::detail::IAssetTypeLoaderBase

Public Member Functions

auto load_asset (std::string_view uri) const -> std::unique_ptr< IAudioBuffer > final
 Primary customization point.
 
- Public Member Functions inherited from le::IAssetTypeLoaderCommon< IAudioBuffer >
 IAssetTypeLoaderCommon (gsl::not_null< IDataLoader const * > data_loader, gsl::not_null< IResourceFactory const * > resource_factory)
 

Additional Inherited Members

- Public Types inherited from le::IAssetTypeLoaderCommon< IAudioBuffer >
using BaseType = IAssetTypeLoaderCommon
 
- Protected Attributes inherited from le::IAssetTypeLoaderCommon< IAudioBuffer >
gsl::not_null< IDataLoader const * > m_data_loader
 
gsl::not_null< IResourceFactory const * > m_resource_factory
 

Member Function Documentation

◆ load_asset()

auto le::AudioBufferLoader::load_asset ( std::string_view  uri) const -> std::unique_ptr< IAudioBuffer >
finalvirtual

Primary customization point.

Parameters
uriURI to load from.
Returns
null on failure.

Implements le::IAssetTypeLoader< AssetTypeT >.


The documentation for this class was generated from the following file: