Contents

open(_:loadingPayloads:)

Opens a stage using the file at a URL as its root layer.

Declaration

static func open(_ url: URL, loadingPayloads: USDStage.InitialLoadRule = .all) throws -> USDStage

Parameters

  • url:

    A file URL to use as the root layer of the new stage.

  • loadingPayloads:

    The rule that determines which payloads are loaded when opening the stage.

Return Value

A new stage rooted at the layer loaded from url.

Discussion

See Also

Opening a stage