41 std::string relative_identifier_;
43 struct ExternalAsset {
46 std::unique_ptr<AssetMetaData> metadata_ =
nullptr;
48 std::variant<ExternalAsset, ID *> asset_;
57 std::unique_ptr<AssetMetaData> metadata,
Enumerations for DNA_ID.h.
std::string full_path() const
AssetMetaData & get_metadata() const
const AssetLibrary & owner_asset_library() const
~AssetRepresentation()=default
ID_Type get_id_type() const
AssetRepresentation(StringRef relative_asset_path, StringRef name, int id_type, std::unique_ptr< AssetMetaData > metadata, const AssetLibrary &owner_asset_library)
StringRefNull library_relative_identifier() const
AssetWeakReference make_weak_reference() const
std::string full_library_path() const
bool get_use_relative_path() const
std::optional< eAssetImportMethod > get_import_method() const
StringRefNull get_name() const
bool may_override_import_method() const