Contents

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.

See Also

Examining Texture Attributes