Contents

colorUsage

The texture usage value to apply to the layer’s color textures.

Declaration

var colorUsage: MTLTextureUsage { get set }

Discussion

Metal optimizes texture-related operations based on the value in this property. The usage value can be a combination of options. For more information, see MTLTextureUsage.

See Also

Configuring the color textures