Contents

init(pixelBuffer:)

Creates a render destination based on a Core Video pixel buffer.

Declaration

init(pixelBuffer: CVPixelBuffer)

Parameters

Return Value

A CIRenderDestination object for rendering to a CVPixelBuffer.

Discussion

The destination’s colorSpace property will default to a CGColorSpace created by querying the CVPixelBuffer object’s attributes.

See Also

Creating a Render Destination