open(_:options:)
Returns an already-loaded layer at the identifier, or opens it from the resolved asset path.
Declaration
static func open(_ identifier: String, options: USDLayer.OpenOptions = []) throws -> USDLayerParameters
- identifier:
The layer identifier — typically a file path, URL, or anonymous identifier.
- options:
Pass
.createNewto create a fresh layer, overwriting any existing file at the identifier.
Return Value
The opened layer.