Contents

init()

Creates a default timestamp result.

Declaration

init()

Discussion

Metal creates MTLCounterResultTimestamp 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