Counts the samples that pass the depth and stencil tests.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The device writes a 64-bit integer to the visibility result buffer that holds the number of samples that pass the depth and stencil tests; this can be zero. Only select Metal feature sets support counting mode, as listed in the Feature Availability table.