CVPixelBufferIsCompatibleWithAttributes

Function CVPixelBufferIsCompatibleWithAttributes 

Source
pub unsafe extern "C-unwind" fn CVPixelBufferIsCompatibleWithAttributes(
    pixel_buffer: &CVPixelBuffer,
    attributes: Option<&CFDictionary>,
) -> bool
Available on crate features CVBuffer and CVImageBuffer and CVPixelBuffer only.
Expand description

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

Parameter pixelBuffer: PixelBuffer to check for compatibility.

Parameter attributes: Creation attributes which pixel buffer should have.

ยงSafety

attributes generics must be of the correct type.