Contents

label

A string that identifies the shader function.

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 Naming resources and commands.

See Also

Identifying shader functions