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 Enhancing Frame Capture by Using Labels.

See Also

Identifying the Resource

var device: MTLDevice

The device object that created the resource.

Required.