counters
An array of the counter instances a GPU device supports.
Declaration
var counters: [any MTLCounter] { get }Mentioned in
Discussion
Check whether a GPU device supports a specific counter by comparing its common name (see MTLCommonCounter) with each element in the property’s array.
For more information, see Confirming which counters and counter sets a GPU supports.