---
title: paddingStyle
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphstencilopdescriptor/paddingstyle
---

# paddingStyle

The property that defines what kind of padding to apply to the stencil operation.

## Declaration

```swift
var paddingStyle: MPSGraphPaddingStyle { get set }
```

## Discussion

Discussion Default value: MPSGraphPaddingStyleExplicit.
