<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PhotogrammetrySession/Limits-swift.struct/maximumNumberOfInputImages",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21PhotogrammetrySessionC6LimitsV26maximumNumberOfInputImagesSivp"
  },
  "title" : "maximumNumberOfInputImages"
}
-->

# maximumNumberOfInputImages

Returns the maximum number of input images or samples that the session can use for reconstruction.
If more than this number are provided, any in excess of the limit will be ignored and an `.invalidSample` message
for the sample will be output.

```
var maximumNumberOfInputImages: Int { get }
```

---

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)