CVBufferRemoveAttachment(_:_:)
Removes the attachment you specify from a Core Video buffer.
Declaration
func CVBufferRemoveAttachment(_ buffer: CVBuffer, _ key: CFString)Parameters
- buffer:
The buffer containing the attachment to remove.
- key:
A string that identifies the attachment, which can be of any Cftyperef. See Cvbuffer Attachment Keys and Image Buffer Attachment Keys for predefined values.
Discussion
If the attachment exists in the buffer, the system removes it and decrements the retain count.