init(ioSurface:options:)
Initializes, using the specified options, an image with the contents of an IOSurface.
Declaration
init(ioSurface surface: IOSurfaceRef, options: [CIImageOption : Any]? = nil)Parameters
- surface:
An IOSurface object.
- options:
A dictionary specifying image options. (See
Image Dictionary Keys.)
Return Value
An image object initialized with the data from the IOSurface.
See Also
Creating an Image
empty()init(image:)init(image:options:)init(contentsOf:)init(contentsOf:options:)init(cgImage:)init(cgImage:options:)init(cgImageSource:index:options:)init(data:)init(data:options:)init(bitmapData:bytesPerRow:size:format:colorSpace:)init(bitmapImageRep:)init(imageProvider:size:_:format:colorSpace:options:)init(depthData:)init(depthData:options:)