Contents

init()

Creates a default statistics result.

Declaration

init()

Discussion

Metal creates MTLCounterResultStatistic instances for you when you resolve the counter set’s data (see Converting a GPU’s counter data into a readable format). There’s no reason for you to manually create one in your app.

See Also

Swift support