Initializes an image object with data supplied by a Metal texture.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Mac Catalyst 13.0+Beta
The Metal texture from which to use image data.
A dictionary specifying image options. (See Image Dictionary Keys.)
The initialized image object, or
nil if the image could not be initialized.
Initializing an Image
Initializes an image of infinite extent whose entire content is the specified color.
static let providerTileSize: CIImageOption
A key for the image tiles size. The associated value is an
NSArray that contains
NSNumber objects for the dimensions of the image tiles requested from the image provider.
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