<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImmersiveMediaSupport",
  "identifier" : "/documentation/ImmersiveMediaSupport/VenueDescriptor/init(aimeURL:device:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Immersive Media Support"
    ],
    "preciseIdentifier" : "s:21ImmersiveMediaSupport15VenueDescriptorC7aimeURL6deviceAC10Foundation0G0V_So9MTLDevice_pSgtYaKcfc"
  },
  "title" : "init(aimeURL:device:)"
}
-->

# init(aimeURL:device:)

Creates a venue descriptor instance from an AIME file.

```
convenience init(aimeURL: URL, device: (any MTLDevice)? = nil) async throws
```

## Parameters

`aimeURL`

A URL that points to a valid AIME file to load.

`device`

The Metal device to use when loading calibration meshes into memory.

## Discussion> Throws: This function throws exceptions if the input file doesn’t exist, or contains invalid information.

---

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)