Contents

recommendedPixelBufferAttributes

Recommended pixel buffer attributes for optimal performance when using CMSampleBuffers containing CVPixelbuffers.

Declaration

var recommendedPixelBufferAttributes: CVPixelBufferAttributes { get }

Discussion

The returned attributes are not sufficient for pixel buffer creation. Use CVPixelBufferAttributes/init?(merging:) to merge these with other required attributes.

See Also

Accessing the pixel buffer