---
title: resolveTexture
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpassattachmentdescriptor/resolvetexture
---

# resolveTexture

The destination texture used when resolving multisampled texture data into single sample values.

## Declaration

```swift
var resolveTexture: (any MTLTexture)? { get set }
```

## Mentioned in

Setting load and store actions

## Discussion

Discussion If the storeAction value is set to MTLStoreAction.multisampleResolve or MTLStoreAction.storeAndMultisampleResolve, then the resolveTexture value needs to point to a valid texture. Otherwise, Metal ignores this property.

## See Also

### Specifying the texture to resolve multisample data

- [resolveLevel](metal/mtlrenderpassattachmentdescriptor/resolvelevel.md)
- [resolveSlice](metal/mtlrenderpassattachmentdescriptor/resolveslice.md)
- [resolveDepthPlane](metal/mtlrenderpassattachmentdescriptor/resolvedepthplane.md)
