init(ioSurface:)
Creates a render destination based on an IOSurface object.
Declaration
init(ioSurface surface: IOSurface)Parameters
- surface:
The
IOSurfacerender target.
Return Value
A CIRenderDestination object for rendering to an IOSurface object.
Discussion
The destination’s colorSpace property will default to a CGColorSpace created by querying the IOSurface object’s attributes.