Contents

CVBufferPropagateAttachments(_:_:)

Copies all attachments that Core Video can propagate from one buffer to another.

Declaration

func CVBufferPropagateAttachments(_ sourceBuffer: CVBuffer, _ destinationBuffer: CVBuffer)

Parameters

  • sourceBuffer:

    The buffer to copy attachments from.

  • destinationBuffer:

    The buffer to copy attachments to.

Discussion

This is a convenience function that copies all attachments from one buffer to another with an attachment mode of CVAttachmentMode.shouldPropagate.

See Also

Working with attachments