device

Returns the GPU device that this command allocator belongs to.

Declaration

var device: any MTLDevice { get }