---
title: paddingTop
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphpooling2dopdescriptor/paddingtop
---

# paddingTop

Defines the explicit padding value for the height dimension to add before the data.

## Declaration

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

## Discussion

Discussion Default value: 0.
