An enumeration for the various options that determine how you can use a texture.
UIKit for Mac 13.0+Beta
If a texture has multiple uses in your app, you can combine multiple usage options for that texture. After you set the texture’s usage options, you can use it only in the ways that you specified.
Metal can optimize operations for a given texture, based on its intended use. Set explicit usage options for a texture, if you know them in advance, before you use the texture. Only set usage options that correspond to a texture’s intended use.
In iOS devices with GPU family 5, Metal doesn’t apply lossless compression to a given texture if you set any of these options:
The dimension of each image, including whether multiple images are arranged into an array or a cube.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.