Instance Property

label

A string that identifies this object.

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 Command Buffer

var device: MTLDevice

The device from which this command buffer was created.

Required.

var commandQueue: MTLCommandQueue

The command queue that created the command buffer.

Required.