CVBufferRemoveAllAttachments(_:)
Removes all attachments from a Core Video buffer.
Declaration
func CVBufferRemoveAllAttachments(_ buffer: CVBuffer)Parameters
- buffer:
The buffer whose attachments you want to remove.
Discussion
This function removes all attachments from a buffer and decrements their reference counts.