---
title: "init(paddingStyle:)"
framework: metalperformanceshadersgraph
role: symbol
role_heading: Initializer
path: "metalperformanceshadersgraph/mpsgraphstencilopdescriptor/init(paddingstyle:)"
---

# init(paddingStyle:)

Creates a stencil operation descriptor with default values.

## Declaration

```swift
convenience init?(paddingStyle: MPSGraphPaddingStyle)
```

## Parameters

- `paddingStyle`: See paddingStyle property.

## Return Value

Return Value A valid MPSGraphStencilOpDescriptor object
