Contents

counterSet

A GPU device’s counter set instance that you want to sample.

Declaration

var counterSet: (any MTLCounterSet)? { get set }

Discussion

Assign this property to one of the counter sets in an MTLDevice instance’s counterSets property.

See Also

Configuring a descriptor for a counter sample buffer