Contents

CVPixelBufferIsPlanar(_:)

Determines whether the pixel buffer is planar.

Declaration

func CVPixelBufferIsPlanar(_ pixelBuffer: CVPixelBuffer) -> Bool

Parameters

  • pixelBuffer:

    The pixel buffer to check.

Return Value

true if the pixel buffer is planar; otherwise, false.

Discussion

Planar buffers can be created using the CVPixelBufferCreateWithPlanarBytes(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:) function.

See Also

Inspecting Pixel Buffers