<!--
{
  "availability" : [
    "iOS: 17.2.0 - 27.0.0",
    "iPadOS: 17.2.0 - 27.0.0",
    "macCatalyst: -",
    "macOS: 14.2.0 - 27.0.0",
    "tvOS: 17.2.0 - 27.0.0",
    "visionOS: 1.1.0 - 27.0.0",
    "watchOS: 10.2.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVVideoOutputSpecification/setOutputPixelBufferAttributes(_:for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So26AVVideoOutputSpecificationC12AVFoundationE03setB21PixelBufferAttributes_3forySDySSypGSg_Say9CoreMedia5CMTagCGtF"
  },
  "title" : "setOutputPixelBufferAttributes(_:for:)"
}
-->

# setOutputPixelBufferAttributes(_:for:)

```
func setOutputPixelBufferAttributes(_ pixelBufferAttributes: [String : Any]?, for tagCollection: [CMTag])
```

---

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)