channelCount
The number of channels per texel.
Declaration
var channelCount: Int { get }Discussion
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.
The number of channels per texel.
var channelCount: Int { get }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.