Contents

usage

Options that determine how you can use the texture.

Declaration

var usage: MTLTextureUsage { get }

Discussion

You set this value in an MTLTextureDescriptor that you then use to create the given texture. After you create the texture, its usage options don’t change.

See Also

Querying texture attributes