Enumeration Case

MTLVisibilityResultMode.counting

Counts the samples that pass the depth and stencil tests.

Declaration

case counting = 2

Discussion

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.