14template<
typename Archive,
typename T>
20template<
typename Archive,
typename T>
24 try_load(ar, ser20::make_nvp(
"uid", uid));
Manages assets, including loading, unloading, and storage.
@ deferred
Register handle only; load triggered on first .get() call.
auto try_save(Archive &ar, ser20::NameValuePair< T > &&t, const hpp::source_location &loc=hpp::source_location::current()) -> bool
#define LOAD_FUNCTION_NAME
auto try_load(Archive &ar, ser20::NameValuePair< T > &&t, const hpp::source_location &loc=hpp::source_location::current()) -> bool
#define SAVE_FUNCTION_NAME
Thread-safe handle to an asset.
auto uid() const -> hpp::uuid
Gets the unique identifier of the asset.
static auto context() -> rtti::context &