Class

MPSImageCopyToMatrix

A class that copies image data to a matrix.

Declaration

class MPSImageCopyToMatrix : MPSKernel

Overview

This kernel copies image data to a MPSMatrix object. The image data is stored in a row of a matrix. The dataLayout specifies the order in which the feature channels in the image get stored in the matrix. If the MPSImage stores a batch of images, the images are copied into multiple rows, one row per image.

The number of elements in a row in the matrix must be greater than the image width multiplied its height multiplied by the number of featureChannels in the image.

Relationships

Inherits From

Conforms To

See Also

Matrix Copying Operations

class MPSMatrixCopy

A class that can perform multiple matrix copy operations.

class MPSMatrixCopyToImage

A kernel that copies matrix data to a Metal Performance Shaders image.

class MPSMatrixCopyDescriptor

A description of multiple matrix copy operations.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software