<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLRenderPassAttachmentDescriptor/resolveSlice",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLRenderPassAttachmentDescriptor(py)resolveSlice"
  },
  "title" : "resolveSlice"
}
-->

# resolveSlice

The slice of the texture used for the multisample resolve action.

```
var resolveSlice: Int { get set }
```

## Discussion

If the value of [`storeAction`](/documentation/Metal/MTLRenderPassAttachmentDescriptor/storeAction) is set to [`MTLStoreAction.multisampleResolve`](/documentation/Metal/MTLStoreAction/multisampleResolve) or [`MTLStoreAction.storeAndMultisampleResolve`](/documentation/Metal/MTLStoreAction/storeAndMultisampleResolve), set this property to point to a slice in the resolve texture.

The default value is `0`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)