CMPropagateAttachments(_:destination:)
Copies all propagable attachments from one attachment bearer object to another.
Declaration
func CMPropagateAttachments(_ source: CMAttachmentBearer, destination: CMAttachmentBearer)Parameters
- source:
CMAttachmentBearerto copy attachments from. - destination:
CMAttachmentBearerto copy attachments to.
Discussion
CMPropagateAttachments is a convenience call that copies all attachments with a mode of kCMAttachmentMode_ShouldPropagate from one buffer to another. Given a CVBuffer, CMPropagateAttachments is equivalent to CVBufferPropagateAttachments.