Contents

displayedReadOnlyPixelBuffer()

Returns the pixel buffer which is currently being displayed.

Declaration

func displayedReadOnlyPixelBuffer() -> CVReadOnlyPixelBuffer?

Return Value

A CVReadOnlyPixelBuffer object.

Discussion

CVReadOnlyPixelBuffer can be nil if the current player’s rate is non-zero, displayed pixel buffer is protected, no image is currently being displayed, or if the image is unavailable.

See Also

Processing pixel buffers