<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 17.4.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVSampleBufferVideoRenderer/recommendedPixelBufferAttributes-6zrqb",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So27AVSampleBufferVideoRendererC12AVFoundationE016recommendedPixelB10Attributes04CoreC007CVPixelbH0Vvp"
  },
  "title" : "recommendedPixelBufferAttributes"
}
-->

# recommendedPixelBufferAttributes

Recommended pixel buffer attributes for optimal performance when using CMSampleBuffers containing CVPixelbuffers.

```
var recommendedPixelBufferAttributes: CVPixelBufferAttributes { get }
```

## Discussion

The returned attributes are not sufficient for pixel buffer creation. Use `CVPixelBufferAttributes/init?(merging:)`
to merge these with other required attributes.

---

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)