---
title: outputWidth
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/mtlfxspatialscalerdescriptor/outputwidth
---

# outputWidth

The width of the output color texture for the spatial scaler you create with this descriptor.

## Declaration

```swift
var outputWidth: Int { get set }
```

## See Also

### Configuring a spatial scaler’s output

- [outputHeight](metalfx/mtlfxspatialscalerdescriptor/outputheight.md)
- [outputTextureFormat](metalfx/mtlfxspatialscalerdescriptor/outputtextureformat.md)
