Contents

init(referencing:planeIndex:overrideSize:pixelFormat:)

Initializes a pixel buffer by refencing the data from a single plane of a multiplane Core Video pixel buffer.

Declaration

init(referencing lockedCVPixelBuffer: CVPixelBuffer, planeIndex: Int, overrideSize: vImage.Size? = nil, pixelFormat: Format.Type = Format.self)

Parameters

See Also

Creating a pixel buffer from a Core Video buffer