---
title: sourceWidth
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsimagesizeencodingstate/sourcewidth
---

# sourceWidth

## Declaration

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

## See Also

### Instance Properties

- [sourceHeight](metalperformanceshaders/mpsimagesizeencodingstate/sourceheight.md)
