| 466 | #endif |
| 467 | |
| 468 | StringView BinaryAsset::GetPath() const |
| 469 | { |
| 470 | #if USE_EDITOR |
| 471 | return Storage ? StringView(Storage->GetPath()) : StringView::Empty; |
| 472 | #else |
| 473 | // In build all assets are packed into packages so use ID for original path lookup |
| 474 | return Content::GetRegistry()->GetEditorAssetPath(_id); |
| 475 | #endif |
| 476 | } |
| 477 | |
| 478 | uint64 BinaryAsset::GetMemoryUsage() const |
| 479 | { |
no test coverage detected