The number of channels per texel.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
For example, a grayscale texture has one channel (brightness) per texel, and a color texture may have three (RGB) or four (RGBA) channels per texel.
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.