<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PhotogrammetrySession/process(requests:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21PhotogrammetrySessionC7process8requestsySayAC7RequestOG_tKF"
  },
  "title" : "process(requests:)"
}
-->

# process(requests:)

Starts processing of the provided processing `requests`.  Messages begin to be produced to
the `output` publisher.

```
func process(requests: [PhotogrammetrySession.Request]) throws
```

## Discussion

On the first `process()`call the data in the input source will be ingested entirely and
`inputComplete` produced on the `output` stream before any request processing progress will begin.
Before `inputComplete`, warnings about samples will be published, if any.

> Throws: if `isProcessing` another batch still, the session is invalid (an Error was produced on `output` or
> if one of the requests is invalid.

---

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)