Instance Property

height

The height of the image.

Declaration

var height: Int { get set }

Discussion

The formal height of the image, in pixels. The default value is 1.

See Also

Properties

var width: Int

The width 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 channelFormat: MPSImageFeatureChannelFormat

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

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.