<!--
{
  "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/Configuration-swift.struct/CustomDetailSpecification-swift.struct/maximumTextureDimension",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV23maximumTextureDimensionAG0jK0Ovp"
  },
  "title" : "maximumTextureDimension"
}
-->

# maximumTextureDimension

The maximum dimension of the reconstructed texture maps.

```
var maximumTextureDimension: PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureDimension
```

## Discussion

The reconstructed texture map will have width
and height dimensions both less than or equal to the provided `maxTextureDimension`.
This property is useful for fitting within the texture memory resources of the rendering system.

---

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)