Contents

url

The URL from which the asset was loaded, if available.

Declaration

var url: URL? { get }

Discussion

For assets created from a URL (with the init(url:) or init(url:vertexDescriptor:bufferAllocator:) initializer), this property is the URL that the asset was loaded from. For assets created manually, this property’s value is nil.

See Also

Working with Asset Content