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

# MTLStoreAction.multisampleResolve

The GPU resolves the multisampled data to one sample per pixel and stores the data to the resolve texture, discarding the multisample data afterwards.

## Declaration

```swift
case multisampleResolve
```

## Mentioned in

Setting load and store actions

## Discussion

Discussion Use this option when you need to resolve the multisample attachment’s contents at the end of the render pass but don’t need the multisample data afterwards. Some GPUs may still store the multisample data back to the texture, but you can’t rely on that behavior. You need to assume that GPU discarded the multisample texture’s contents.

## See Also

### Store actions

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