---
title: "loadRule(_:)"
framework: usdkit
role: symbol
role_heading: Type Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "usdkit/usdstage/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.
