Instance Property

label

A string that identifies the argument buffer.

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 Argument Encoder

var device: MTLDevice

The device object that created the argument encoder.

Required.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software