Contents

depthUsage

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

Declaration

var depthUsage: 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 depth information