The data format for each channel value per texel.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Mac Catalyst 13.0+Beta
For example, each channel value for a texel may be an 8-bit integer or a 32-bit floating point value. For possible channel encodings, see
Examining Texture Attributes
var rowStride: Int
The number of bytes between the first texel in a row of image data and the first texel in the next row.
var isCube: Bool
A Boolean value that indicates whether the texture is a cube textures.
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.Learn more about using Apple's beta software