---
title: MTLStoreAction.unknown
framework: metal
role: symbol
role_heading: Case
path: metal/mtlstoreaction/unknown
---

# MTLStoreAction.unknown

The system selects a store action when it encodes the render pass.

## Declaration

```swift
case unknown
```

## Mentioned in

Setting load and store actions

## Discussion

Discussion Only apply this action if you can’t determine the store action when you create the render pass descriptor. You need to specify a store action before you finish encoding commands into the render command encoder. Refer to the MTLRenderCommandEncoder and MTLParallelRenderCommandEncoder protocol references for further information.

## See Also

### Store actions

- [MTLStoreAction.dontCare](metal/mtlstoreaction/dontcare.md)
- [MTLStoreAction.store](metal/mtlstoreaction/store.md)
- [MTLStoreAction.multisampleResolve](metal/mtlstoreaction/multisampleresolve.md)
- [MTLStoreAction.storeAndMultisampleResolve](metal/mtlstoreaction/storeandmultisampleresolve.md)
- [MTLStoreAction.customSampleDepthStore](metal/mtlstoreaction/customsampledepthstore.md)
