---
title: inputWidth
framework: MetalFX
role: symbol
role_heading: Instance Property
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 16.0+, macOS 13.0+, tvOS 27.1+, visionOS 1.0+]
path: metalfx/mtlfxspatialscalerbase/inputwidth
---

# inputWidth

The width, in pixels, of the input color texture for this scaler.

## Declaration

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