Contents

channelEncoding

The data format for each channel value per texel.

Declaration

var channelEncoding: MDLTextureChannelEncoding { get }

Discussion

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 MDLTextureChannelEncoding.

See Also

Examining Texture Attributes