CVBufferHasAttachment(_:_:)
Returns a Boolean value that indicates whether a Core Video buffer contains a specified attachment.
Declaration
func CVBufferHasAttachment(_ buffer: CVBuffer, _ key: CFString) -> BoolParameters
- buffer:
A Core Video buffer to query.
- key:
A string that identifies the attachment, which can be of any Cftyperef.
Return Value
true if the buffer contains the attachment; otherwise, false.