Instance Property

label

A string that identifies the texture.

Declaration

var label: String? { get }

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 Shared Texture Handle

var device: MTLDevice

The device object that created the texture.