---
title: "loadRule(_:)"
framework: usdkit
role: symbol
role_heading: Type Method
path: "usdkit/usdstage-4sfi1/openoptions/loadrule(_:)"
---

# loadRule(_:)

Specifies the rule used to determine if referenced payloads are loaded.

## Declaration

```swift
static func loadRule(_ rule: USDStage.InitialLoadRule) -> USDStage.OpenOptions
```

## Discussion

Discussion The default is .all, so all loadable prims will be automatically loaded.
