Contents

device

The GPU device instance that owns the counter sample buffer.

Declaration

var device: any MTLDevice { get }

Discussion

You can store a GPU device’s counter set data only with a counter sample buffer that you create from the same device.

See Also

Inspecting the counter sample buffer’s configuration