EnTT 3.14.0
|
Transparent loader for shared resources. More...
#include <loader.hpp>
Public Types | |
using | result_type = std::shared_ptr<Type> |
Result type. | |
Public Member Functions | |
template<typename... Args> | |
result_type | operator() (Args &&...args) const |
Constructs a shared pointer to a resource from its arguments. | |
Transparent loader for shared resources.
Type | Type of resources created by the loader. |
Definition at line 15 of file loader.hpp.
using entt::resource_loader< Type >::result_type = std::shared_ptr<Type> |
Result type.
Definition at line 17 of file loader.hpp.
|
inline |
Constructs a shared pointer to a resource from its arguments.
Args | Types of arguments to use to construct the resource. |
args | Parameters to use to construct the resource. |
Definition at line 26 of file loader.hpp.