---
title: kernelWidth
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphimtocolopdescriptor/kernelwidth
---

# kernelWidth

The property that defines the kernel size in width dimension.

## Declaration

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