#pragma once #include #include namespace Nz { template struct AssetDescriptor { constexpr static std::string_view Type = TypeName(); int version; std::string type; std::string name; std::filesystem::path path; TResource::Params parameters; }; template bool Serialize(SerializationContext& context, const AssetDescriptor& descriptor, TypeTag>); template bool Unserialize(SerializationContext& context, AssetDescriptor* descriptor, TypeTag>); } #include