init(channelFormat:width:height:featureChannels:)
Creates an image descriptor for a single image.
Declaration
convenience init(channelFormat: MPSImageFeatureChannelFormat, width: Int, height: Int, featureChannels: Int)Parameters
- channelFormat:
The storage format to use for each channel in the image.
- width:
The width of the image.
- height:
The height of the image.
- featureChannels:
The number of feature channels per pixel.
Return Value
A valid MPSImageDescriptor object.