Contents

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 -> USDLayer

Parameters

  • identifier:

    The layer identifier — typically a file path, URL, or anonymous identifier.

  • options:

    Pass .createNew to create a fresh layer, overwriting any existing file at the identifier.

Return Value

The opened layer.

Discussion

See Also

Opening and finding layers