Instance Property

device

The device object that created the heap.

Required.

Declaration

var device: MTLDevice { get }

Discussion

A heap is always associated with the MTLDevice that created it and can be used only with that device.

See Also

Identifying the Heap

var label: String?

A string that identifies the heap.

Required.