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

# setDepthStoreActionOptions(_:)

Specifies known store action options for a given depth attachment.

## Declaration

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

## Parameters

- `storeActionOptions`: The additional store action options for the depth attachment.

## See Also

### Setting render pass state

- [setColorStoreAction(_:index:)](metal/mtlparallelrendercommandencoder/setcolorstoreaction(_:index:).md)
- [setColorStoreActionOptions(_:index:)](metal/mtlparallelrendercommandencoder/setcolorstoreactionoptions(_:index:).md)
- [setDepthStoreAction(_:)](metal/mtlparallelrendercommandencoder/setdepthstoreaction(_:).md)
- [setStencilStoreAction(_:)](metal/mtlparallelrendercommandencoder/setstencilstoreaction(_:).md)
- [setStencilStoreActionOptions(_:)](metal/mtlparallelrendercommandencoder/setstencilstoreactionoptions(_:).md)
