Instance Property

label

A string that identifies the resource.

Required.

Declaration

var label: String? { get set }

Discussion

Object and command labels are useful identifiers at runtime or when profiling and debugging your app using any Metal tool. See Labeling Metal Objects and Commands.

See Also

Identifying the Resource

var device: MTLDevice

The device object that created the resource.

Required.