Class

MPSImageDescriptor

A description of the attributes used to create an MPSImage.

Declaration

@interface MPSImageDescriptor : NSObject

Overview

You use an MPSImageDescriptor to describe and create the properties of an MPSImage such as its size, pixel format and CPU cache mode.

Topics

Methods

+ imageDescriptorWithChannelFormat:width:height:featureChannels:

Creates an image descriptor for a single image.

+ imageDescriptorWithChannelFormat:width:height:featureChannels:numberOfImages:usage:

Creates an image descriptor for an image container with options to set texture usage and batch size (number of images).

Properties

width

The width of the image.

height

The height of the image.

featureChannels

The number of feature channels per pixel.

numberOfImages

The number of images for batch processing.

pixelFormat

The pixel format for the underlying texture.

channelFormat

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

cpuCacheMode

The CPU cache mode of the underlying texture.

storageMode

The storage mode of underlying texture.

usage

Options to specify the intended usage of the underlying texture.

Instance Methods

Relationships

Inherits From

Conforms To