---
title: maximumNumberOfInputImages
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/photogrammetrysession/limits-swift.struct/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.

## Declaration

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