A description of the attributes used to create an MPSImage
.
SDKs
- iOS 10.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Metal Performance Shaders
A description of the attributes used to create an MPSImage
.
SDKs
Framework
+ image Descriptor With Channel Format: width: height: feature Channels:
Creates an image descriptor for a single image.
+ image Descriptor With Channel Format: width: height: feature Channels: number Of Images: usage:
Creates an image descriptor for an image container with options to set texture usage and batch size (number of images).
width
The width of the image.
height
The height of the image.
feature Channels
The number of feature channels per pixel.
number Of Images
The number of images for batch processing.
pixel Format
The pixel format for the underlying texture.
channel Format
The storage format to use for each channel in the image.
cpu Cache Mode
The CPU cache mode of the underlying texture.
storage Mode
The storage mode of underlying texture.
usage
Options to specify the intended usage of the underlying texture.