<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDLayer/AssetPath",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit8USDLayerV9AssetPathV"
  },
  "title" : "USDLayer.AssetPath"
}
-->

# USDLayer.AssetPath

A reference to an external asset such as a texture, audio file, or USD layer.

```
struct AssetPath
```

## Overview

Stores both the authored path (the string as written in USD) and the
resolved path (the location after asset resolution, which may be empty
if resolution did not run or failed). The resolved path is not
guaranteed to be a filesystem path — custom asset resolvers may
return URLs, database identifiers, or opaque tokens.

## Topics

### Initializers

[`init()`](/documentation/USDKit/USDLayer/AssetPath/init())

Creates an empty asset path.

[`init(String)`](/documentation/USDKit/USDLayer/AssetPath/init(_:))

Creates an asset path from a string identifier.

[`init(String, resolvedPath: String)`](/documentation/USDKit/USDLayer/AssetPath/init(_:resolvedPath:))

Creates an asset path with both authored and resolved values.

### Instance Properties

[`var authoredPath: String`](/documentation/USDKit/USDLayer/AssetPath/authoredPath)

The authored path string — the value as written in the USD file.

[`var resolvedPath: String?`](/documentation/USDKit/USDLayer/AssetPath/resolvedPath)

The resolved location after asset resolution, or `nil` if resolution
did not run or failed.

## Relationships

### Conforms To

[`ExpressibleByUnicodeScalarLiteral`](/documentation/Swift/ExpressibleByUnicodeScalarLiteral)

[`USDValueProtocol`](/documentation/USDKit/USDValueProtocol)

[`Value`](/documentation/USDKit/USDPrim/Attribute/Value)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Copyable`](/documentation/Swift/Copyable)

[`Equatable`](/documentation/Swift/Equatable)

[`ExpressibleByExtendedGraphemeClusterLiteral`](/documentation/Swift/ExpressibleByExtendedGraphemeClusterLiteral)

[`Escapable`](/documentation/Swift/Escapable)

[`ExpressibleByStringLiteral`](/documentation/Swift/ExpressibleByStringLiteral)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)