/* SPDX-License-Identifier: GPL-2.0-or-later */ /** \file * \ingroup asset_system * * \brief Information to uniquely identify and locate an asset. * * https://wiki.blender.org/wiki/Source/Architecture/Asset_System/Back_End#Asset_Identifier */ #pragma once #include #include namespace blender::asset_system { class AssetIdentifier { std::shared_ptr library_root_path_; std::string relative_asset_path_; public: AssetIdentifier(std::shared_ptr library_root_path, std::string relative_asset_path); AssetIdentifier(AssetIdentifier &&) = default; AssetIdentifier(const AssetIdentifier &) = default; std::string full_path() const; }; } // namespace blender::asset_system