<!--
{
  "availability" : [
    "iOS: 15.0.0 - 18.0.0",
    "iPadOS: 15.0.0 - 18.0.0",
    "macCatalyst: 15.0.0 - 18.0.0",
    "macOS: 12.0.0 - 15.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/TextureResource/loadAsync(named:in:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15TextureResourceC0A3KitE9loadAsync5named2in7optionsAA11LoadRequestCyACGSS_So8NSBundleCSgAC13CreateOptionsVtFZ"
  },
  "title" : "loadAsync(named:in:options:)"
}
-->

# loadAsync(named:in:options:)

Returns a load request that creates a texture resource by asynchronously loading it from a bundle with options.

```
@MainActor @preconcurrency static func loadAsync(named name: String, in bundle: Bundle? = nil, options: TextureResource.CreateOptions) -> LoadRequest<TextureResource>
```

## Parameters

`name`

The name of the resource. The filename extension is optional.

`bundle`

The bundle to search for the resource. Use `nil` to indicate the app’s bundle.

`options`

Configuration options for texture creation.

## Return Value

A load operation that publishes the resource.

## Discussion

RealityKit automatically creates a resource name for the texture
resource based on the values of `name` and `bundle`. RealityKit uses the
resource name to identify resources, and to match texture resources
between networked peers. Specify a unique name for each texture resource
you load or generate.

See [`init(named:in:)`](/documentation/RealityKit/TextureResource/init(named:in:)) for an example of optimally loading textures with
other content.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)