Contents

MPSImageFeatureChannelFormat

Encodes the representation of a single channel within an image.

Declaration

enum MPSImageFeatureChannelFormat

Overview

A pixel in an MPSImage object may have many channels in it, sometimes many more than 4, that exceed the limit of what a MTLPixelFormat value can encode. The storage format for a single channel within a pixel can be given by the MPSImageFeatureChannelFormat type. The number of channels is defined by the featureChannels property of an MPSImage object. The size of the pixel is the size of the channel format multiplied by the number of feature channels. No padding is allowed, except to round out to a full byte.

Topics

Constants

Enumeration Cases

Initializers

See Also

Instance Properties