Contents

CVPixelBufferGetWidth(_:)

Returns the width of the pixel buffer.

Declaration

func CVPixelBufferGetWidth(_ pixelBuffer: CVPixelBuffer) -> Int

Parameters

  • pixelBuffer:

    The pixel buffer whose width you want to obtain.

Return Value

The width of the buffer, in pixels.

See Also

Inspecting Pixel Buffers