| 390 | } |
| 391 | |
| 392 | std::string ImageProcessingResolverPlugin::_CreateIdentifier( |
| 393 | const std::string& assetPath, const ArResolvedPath& anchorAssetPath) const |
| 394 | { |
| 395 | // If an imageProcessing URI was successfully parsed, return the processed asset |
| 396 | // path. |
| 397 | std::string uriId = CreateIdentifierFromURI(assetPath, anchorAssetPath); |
| 398 | if (!uriId.empty()) |
| 399 | return uriId; |
| 400 | |
| 401 | // Otherwise return default result. |
| 402 | return ArDefaultResolver::_CreateIdentifier(assetPath, anchorAssetPath); |
| 403 | } |
| 404 | |
| 405 | std::string ImageProcessingResolverPlugin::_CreateIdentifierForNewAsset( |
| 406 | const std::string& assetPath, const ArResolvedPath& anchorAssetPath) const |