Contents

CMPropagateAttachments(_:destination:)

Copies all propagable attachments from one attachment bearer object to another.

Declaration

func CMPropagateAttachments(_ source: CMAttachmentBearer, destination: CMAttachmentBearer)

Parameters

  • source:

    CMAttachmentBearer to copy attachments from.

  • destination:

    CMAttachmentBearer to 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.

See Also

Processing Attachments