Instance Property

device

The device object that created the resource.

Required.

Declaration

var device: MTLDevice { get }

Discussion

A resource can only be used with the MTLDevice that created it.

See Also

Identifying the Resource

var label: String?

A string that identifies the resource.

Required.