14template<
typename Archive,
typename T>
20template<
typename Archive,
typename T>
24 try_load(ar, ser20::make_nvp(
"uid", uid));
34 obj = am.get_asset<T>(uid);
Manages assets, including loading, unloading, and storage.
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
Represents a handle to an asset, providing access and management functions.
auto uid() const -> const hpp::uuid &
Gets the unique identifier of the asset.
static auto context() -> rtti::context &