---
title: recommendedPixelBufferAttributes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avsamplebuffervideorenderer/recommendedpixelbufferattributes-6zrqb
---

# recommendedPixelBufferAttributes

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

## Declaration

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

## Discussion

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

## See Also

### Accessing the pixel buffer

- [displayedPixelBuffer()](avfoundation/avsamplebuffervideorenderer/displayedpixelbuffer().md)
