<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLMultisampleDepthResolveFilter",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLMultisampleDepthResolveFilter"
  },
  "title" : "MTLMultisampleDepthResolveFilter"
}
-->

# MTLMultisampleDepthResolveFilter

Filtering options for controlling an MSAA depth resolve operation.

```
enum MTLMultisampleDepthResolveFilter
```

## Topics

### Depth resolve filters

[`MTLMultisampleDepthResolveFilter.sample0`](/documentation/Metal/MTLMultisampleDepthResolveFilter/sample0)

No filter is applied.

[`MTLMultisampleDepthResolveFilter.min`](/documentation/Metal/MTLMultisampleDepthResolveFilter/min)

The GPU compares all depth samples in the pixel and selects the sample with the smallest value.

[`MTLMultisampleDepthResolveFilter.max`](/documentation/Metal/MTLMultisampleDepthResolveFilter/max)

The GPU compares all depth samples in the pixel and selects the sample with the largest value.



---

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)