Contents

CVPixelBufferIsCompatibleWithAttributes(_:_:)

Declaration

func CVPixelBufferIsCompatibleWithAttributes(_ pixelBuffer: CVPixelBuffer, _ attributes: CFDictionary?) -> Bool

Parameters

  • pixelBuffer:

    PixelBuffer to check for compatibility.

  • attributes:

    Creation attributes which pixel buffer should have.

Discussion

Returns true if given pixel buffer is compatible with pixelBufferAttributes dictionary.

See Also

Inspecting Pixel Buffers