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

# setDepthStoreActionOptions(_:)

Configures the store action options for the depth attachment.

## Declaration

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

## Parameters

- `storeActionOptions`: Additional options for the store action of the depth 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)
- [setStencilStoreAction(_:)](metal/mtlrendercommandencoder/setstencilstoreaction(_:).md)
- [setStencilStoreActionOptions(_:)](metal/mtlrendercommandencoder/setstencilstoreactionoptions(_:).md)
