<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVBufferPropagateAttachments(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@F@CVBufferPropagateAttachments"
  },
  "title" : "CVBufferPropagateAttachments(_:_:)"
}
-->

# CVBufferPropagateAttachments(_:_:)

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

```
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`](/documentation/CoreVideo/CVAttachmentMode/shouldPropagate).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)