---
title: "setStencilStoreActionOptions(_:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtlrendercommandencoder/setstencilstoreactionoptions(_:)"
---

# setStencilStoreActionOptions(_:)

Configures the store action options for the stencil attachment.

## Declaration

```swift
func setStencilStoreActionOptions(_ storeActionOptions: MTLStoreActionOptions)
```

## Parameters

- `storeActionOptions`: Additional options for the store action of the stencil attachment.

## See Also

### Configuring the actions for attachments

- [setColorStoreAction(_:index:)](metal/mtlrendercommandencoder/setcolorstoreaction(_:index:).md)
- [setColorStoreActionOptions(_:index:)](metal/mtlrendercommandencoder/setcolorstoreactionoptions(_:index:).md)
- [setDepthStoreAction(_:)](metal/mtlrendercommandencoder/setdepthstoreaction(_:).md)
- [setDepthStoreActionOptions(_:)](metal/mtlrendercommandencoder/setdepthstoreactionoptions(_:).md)
- [setStencilStoreAction(_:)](metal/mtlrendercommandencoder/setstencilstoreaction(_:).md)
