Instance Property

channelFormat

The storage format to use for each channel in the image.

Declaration

var channelFormat: MPSImageFeatureChannelFormat { get set }

See Also

Properties

var width: Int

The width of the image.

var height: Int

The height of the image.

var featureChannels: Int

The number of feature channels per pixel.

var numberOfImages: Int

The number of images for batch processing.

var pixelFormat: MTLPixelFormat

The pixel format for the underlying texture.

var cpuCacheMode: MTLCPUCacheMode

The CPU cache mode of the underlying texture.

var storageMode: MTLStorageMode

The storage mode of underlying texture.

var usage: MTLTextureUsage

Options to specify the intended usage of the underlying texture.